dev-python/stsci-distutils: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-10-22 09:23:51 +02:00
parent 9d09c47b49
commit 1bddf69e59
2 changed files with 14 additions and 11 deletions

View File

@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
<herd>sci-astronomy</herd>
<longdescription>
<herd>python</herd>
<herd>sci-astronomy</herd>
<longdescription>
This package contains utilities used to package some of STScI's Python
projects; specifically those projects that comprise stsci_python and
Astrolib.
@@ -11,7 +11,7 @@
distutils2/packaging and/or d2to1, and a customized easy_install command
meant for use with distribute.
</longdescription>
<upstream>
<remote-id type="pypi">stsci.distutils</remote-id>
</upstream>
<upstream>
<remote-id type="pypi">stsci.distutils</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -4,12 +4,13 @@
EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
MY_PN=${PN/-/.}
MY_P=${MY_PN}-${PV}
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy )
inherit distutils-r1
MY_PN=${PN/-/.}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Utilities used to package some of STScI's Python projects"
HOMEPAGE="http://www.stsci.edu/resources/software_hardware/stsci_python"
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
@@ -19,8 +20,10 @@ SLOT="0"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
DEPEND="
dev-python/d2to1[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"
RDEPEND="${DEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${MY_P}"