diff options
author | David Roman <davidroman96@gmail.com> | 2020-03-09 14:41:45 +0100 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2020-03-23 09:33:39 +0800 |
commit | db2d6fecf69de44fb893bd54acfad643e372239d (patch) | |
tree | dfb85cb61ac6547ec7e02a07dbe4213a881a4380 | |
parent | sci-astronomy/erfa: new package (diff) | |
download | sci-db2d6fecf69de44fb893bd54acfad643e372239d.tar.gz sci-db2d6fecf69de44fb893bd54acfad643e372239d.tar.bz2 sci-db2d6fecf69de44fb893bd54acfad643e372239d.zip |
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@gentoo.org>
-rw-r--r-- | dev-python/astropy-helpers/Manifest | 2 | ||||
-rw-r--r-- | dev-python/astropy-helpers/astropy-helpers-3.2.2.ebuild | 27 | ||||
-rw-r--r-- | dev-python/astropy-helpers/astropy-helpers-4.0.1.ebuild | 27 | ||||
-rw-r--r-- | dev-python/astropy-helpers/astropy-helpers-9999.ebuild | 26 | ||||
-rw-r--r-- | dev-python/astropy-helpers/metadata.xml | 8 |
5 files changed, 80 insertions, 10 deletions
diff --git a/dev-python/astropy-helpers/Manifest b/dev-python/astropy-helpers/Manifest new file mode 100644 index 000000000..e8a7b7201 --- /dev/null +++ b/dev-python/astropy-helpers/Manifest @@ -0,0 +1,2 @@ +DIST astropy-helpers-3.2.2.tar.gz 52558 BLAKE2B 8185ff84426252e6f701eb322964ca7c4d34be146964599e01b281ab2173e2fc56fa696e6a9aa79e0309198fbca7eb83c2b5c75336637fcf5cb7416c70c7fa7c SHA512 febc977be2d4a99b3dfcc2879b0710ab87dc79d54f737743282fdc4f68ea3afd52331e227f21377844ddaae02fc84173407775bbc5c1045f77a633e5f402fe64 +DIST astropy-helpers-4.0.1.tar.gz 52904 BLAKE2B c550cbfbf6c64fd354bd212f8954a2c7218f5ec678a5e4ab12ca8af077cb531d7ab8f363a0799f167ee0dd226b920fe4e0077a73f8513f40c987a9763694addf SHA512 11c41f6474b41a8cd89d8cf5b31c5508bba8142e92342761fae602b19694215e0fc97091e83b6a7bc82fbc4b9bc5c4a6cd825f040d63c4629f069ec07119a705 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> |