dev-python/stsci-distutils: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Thu, 22 Oct 2015 07:23:51 +0000 (09:23 +0200)
committerJustin Lecher <jlec@gentoo.org>
Thu, 22 Oct 2015 08:31:52 +0000 (10:31 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/stsci-distutils/metadata.xml
dev-python/stsci-distutils/stsci-distutils-0.3.7.ebuild

index 075a4ef1271dee9288c1d2670a7b9c6b9d8d963b..9d1830ea8ac0a36ff96513bc291c31b3696bc1e0 100644 (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>
index e984e71f8ab06fd07980b21bb06b4a9219f284e3..f4b369bb71c0e1721f1e1c0b5534470f85e4a413 100644 (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}"