public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Benda XU" <heroxbd@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/astropy-helpers/
Date: Mon, 23 Mar 2020 01:35:20 +0000 (UTC)	[thread overview]
Message-ID: <1584927219.db2d6fecf69de44fb893bd54acfad643e372239d.heroxbd@gentoo> (raw)

commit:     db2d6fecf69de44fb893bd54acfad643e372239d
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Mon Mar  9 13:41:45 2020 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Mar 23 01:33:39 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=db2d6fec

dev-python/astropy-helpers: add 3.2.3 and 4.0.1 versions.

Closes: https://github.com/gentoo/sci/pull/947
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../astropy-helpers/astropy-helpers-3.2.2.ebuild   | 27 ++++++++++++++++++++++
 .../astropy-helpers/astropy-helpers-4.0.1.ebuild   | 27 ++++++++++++++++++++++
 .../astropy-helpers/astropy-helpers-9999.ebuild    | 26 +++++++++++++--------
 dev-python/astropy-helpers/metadata.xml            |  8 +++++++
 4 files changed, 78 insertions(+), 10 deletions(-)

diff --git a/dev-python/astropy-helpers/astropy-helpers-3.2.2.ebuild b/dev-python/astropy-helpers/astropy-helpers-3.2.2.ebuild
new file mode 100644
index 000000000..d237e1dc9
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-3.2.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1 xdg-utils
+
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+python_prepare_all() {
+	sed -e '/import ah_bootstrap/d' \
+		-i setup.py || die "Removing ah_bootstrap failed"
+	xdg_environment_reset
+	distutils-r1_python_prepare_all
+}

diff --git a/dev-python/astropy-helpers/astropy-helpers-4.0.1.ebuild b/dev-python/astropy-helpers/astropy-helpers-4.0.1.ebuild
new file mode 100644
index 000000000..0c7ff6a21
--- /dev/null
+++ b/dev-python/astropy-helpers/astropy-helpers-4.0.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1 xdg-utils
+
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64 ~x86"
+
+python_prepare_all() {
+	sed -e '/import ah_bootstrap/d' \
+		-i setup.py || die "Removing ah_bootstrap failed"
+	xdg_environment_reset
+	distutils-r1_python_prepare_all
+}

diff --git a/dev-python/astropy-helpers/astropy-helpers-9999.ebuild b/dev-python/astropy-helpers/astropy-helpers-9999.ebuild
index fa7d02d33..bd5b855dd 100644
--- a/dev-python/astropy-helpers/astropy-helpers-9999.ebuild
+++ b/dev-python/astropy-helpers/astropy-helpers-9999.ebuild
@@ -1,27 +1,33 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_4} )
-inherit distutils-r1
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1 xdg-utils
+
+MYPV=${PV/_/}
+S=${WORKDIR}/${PN}-${MYPV}
+
+DESCRIPTION="Helpers for Astropy and Affiliated packages"
+HOMEPAGE="https://github.com/astropy/astropy-helpers"
 
 if [ ${PV} == "9999" ] ; then
 	inherit git-r3
 	EGIT_REPO_URI="https://github.com/astropy/${PN}.git"
 else
-	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-	KEYWORDS="~amd64"
+	SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MYPV}.tar.gz"
+	KEYWORDS="~amd64 ~x86"
 fi
 
-DESCRIPTION="Helpers for Astropy and Affiliated packages"
-HOMEPAGE="https://github.com/astropy/astropy-helpers"
-
 LICENSE="BSD"
 SLOT="0"
 IUSE=""
 
 python_prepare_all() {
-	sed -e '/import ah_bootstrap/d' -i setup.py || die "Removing ah_bootstrap failed"
+	sed -e '/import ah_bootstrap/d' \
+		-i setup.py || die "Removing ah_bootstrap failed"
+	xdg_environment_reset
 	distutils-r1_python_prepare_all
 }

diff --git a/dev-python/astropy-helpers/metadata.xml b/dev-python/astropy-helpers/metadata.xml
index ddf49f5b8..cc8e6f153 100644
--- a/dev-python/astropy-helpers/metadata.xml
+++ b/dev-python/astropy-helpers/metadata.xml
@@ -1,6 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+	<maintainer type="person">
+		<email>davidroman96@gmail.com</email>
+		<name>David Roman</name>
+	</maintainer>
+	<maintainer type="person">
+		<email>gentoo@lotz.li</email>
+		<name>Linus Lotz</name>
+	</maintainer>
 	<maintainer type="project">
 		<email>sci-astronomy@gentoo.org</email>
 		<name>Gentoo Astronomy Project</name>


             reply	other threads:[~2020-03-23  1:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-23  1:35 Benda XU [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-05-22 13:12 [gentoo-commits] proj/sci:master commit in: dev-python/astropy-helpers/ Andrew Ammerlaan
2023-02-10 11:35 Andrew Ammerlaan
2022-01-23 11:21 Andrew Ammerlaan
2021-01-30 15:07 Andrew Ammerlaan
2021-01-05  7:39 Horea Christian
2015-01-15  6:53 Justin Lecher
2015-01-15  6:53 Justin Lecher
2015-01-15  6:53 Justin Lecher
2014-08-19 21:51 Christoph Junghans
2014-08-10  8:05 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1584927219.db2d6fecf69de44fb893bd54acfad643e372239d.heroxbd@gentoo \
    --to=heroxbd@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox