commit:     e0be7fcacfe52147962469b89d6979c34f3ab226
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 21 13:24:50 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Oct 21 13:40:24 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0be7fca

dev-python/astropy: Add python3.5 support

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/astropy/astropy-1.0.5.ebuild                  |  2 +-
 .../{astropy-1.0.5.ebuild => astropy-9999.ebuild}        | 10 +++++-----
 .../astropy/files/astropy-9999-system-pytest.patch       | 16 ++++++++++++++++
 3 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-1.0.5.ebuild
index 3a3666e..8b93665 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-1.0.5.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1
 

diff --git a/dev-python/astropy/astropy-1.0.5.ebuild 
b/dev-python/astropy/astropy-9999.ebuild
similarity index 90%
copy from dev-python/astropy/astropy-1.0.5.ebuild
copy to dev-python/astropy/astropy-9999.ebuild
index 3a3666e..634d5be 100644
--- a/dev-python/astropy/astropy-1.0.5.ebuild
+++ b/dev-python/astropy/astropy-9999.ebuild
@@ -4,17 +4,17 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
-inherit distutils-r1
+inherit distutils-r1 git-r3
 
 DESCRIPTION="Core functionality for performing astrophysics with Python"
 HOMEPAGE="http://astropy.org/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+EGIT_REPO_URI="https://github.com/astropy/astropy.git";
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS=""
 IUSE="doc test"
 
 RDEPEND="
@@ -48,7 +48,7 @@ DEPEND="${RDEPEND}
 PATCHES=(
        "${FILESDIR}/${PN}-1.0.4-disable_helper.patch"
        "${FILESDIR}/${PN}-1.0.4-system-six.patch"
-       "${FILESDIR}/${PN}-1.0.4-system-pytest.patch"
+       "${FILESDIR}/${P}-system-pytest.patch"
        "${FILESDIR}/${PN}-1.0.4-system-configobj.patch"
        )
 

diff --git a/dev-python/astropy/files/astropy-9999-system-pytest.patch 
b/dev-python/astropy/files/astropy-9999-system-pytest.patch
new file mode 100644
index 0000000..19b321d
--- /dev/null
+++ b/dev-python/astropy/files/astropy-9999-system-pytest.patch
@@ -0,0 +1,16 @@
+ astropy/tests/helper.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/astropy/tests/helper.py b/astropy/tests/helper.py
+index 97d2617..a75db15 100644
+--- a/astropy/tests/helper.py
++++ b/astropy/tests/helper.py
+@@ -42,7 +42,7 @@ __all__ = ['raises', 'enable_deprecations_as_exceptions', 
'remote_data',
+            'pickle_protocol', 'generic_recursive_equality_test']
+ 
+ 
+-if os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in sys.modules:
++if True or os.environ.get('ASTROPY_USE_SYSTEM_PYTEST') or '_pytest' in 
sys.modules:
+     import pytest
+ 
+ else:

Reply via email to