diff options
author | Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> | 2010-04-28 12:14:12 +0200 |
---|---|---|
committer | Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> | 2010-04-28 12:14:12 +0200 |
commit | ee31ad0cdd0b905b74bbdda5ddaa8d0f1cf540bb (patch) | |
tree | 5b970b1657c07fe9869bf722458a3cf78a0218a9 /dev-python/pywcs | |
parent | New package, ebuild written by me (diff) | |
download | sci-ee31ad0cdd0b905b74bbdda5ddaa8d0f1cf540bb.tar.gz sci-ee31ad0cdd0b905b74bbdda5ddaa8d0f1cf540bb.tar.bz2 sci-ee31ad0cdd0b905b74bbdda5ddaa8d0f1cf540bb.zip |
dev-python/pywcs-1.8.1: updating dependencies and Python style
Diffstat (limited to 'dev-python/pywcs')
-rw-r--r-- | dev-python/pywcs/ChangeLog | 4 | ||||
-rw-r--r-- | dev-python/pywcs/Manifest | 4 | ||||
-rw-r--r-- | dev-python/pywcs/pywcs-1.8.1.ebuild | 17 |
3 files changed, 19 insertions, 6 deletions
diff --git a/dev-python/pywcs/ChangeLog b/dev-python/pywcs/ChangeLog index 7da2c98af..1ee6c8206 100644 --- a/dev-python/pywcs/ChangeLog +++ b/dev-python/pywcs/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 28 Apr 2010; Kacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com> + pywcs-1.8.1.ebuild, metadata.xml: + updating dependencies and Python style + *pywcs-1.8.1 (26 Apr 2010) 26 Apr 2010; Kacper Kowalik <xarthisius.kk@gmail.com> +pywcs-1.8.1.ebuild, diff --git a/dev-python/pywcs/Manifest b/dev-python/pywcs/Manifest index 799e89a9c..b65018e07 100644 --- a/dev-python/pywcs/Manifest +++ b/dev-python/pywcs/Manifest @@ -4,6 +4,6 @@ DIST pywcs-1.7-4.4.4.tar.gz 2009870 RMD160 231ca843d2070172020016936536a02b63098 DIST pywcs-1.8.1-4.4.4.tar.gz 2010226 RMD160 288135458de2a3c1cc142a5c44cb4fcdfa931291 SHA1 512f3c8776b8ff34e0d39d0f60bb4e073bacf830 SHA256 907a6d852393056e8532be63bd1e14eec32d80a919b08d6d4837613620409662 EBUILD pywcs-1.5.1.ebuild 676 RMD160 badc976a4bb05581d321ece776af22cf606a283e SHA1 1f5345dea19ad9d16685f22be98ce1d1f4194432 SHA256 14c12f3d9049131d3f865b1bbfee320dfba5115d059a8b6b803c726aa8eb0f5a EBUILD pywcs-1.7.ebuild 660 RMD160 70a5155394c78e469a7cb7dafb0b36c76e7283d3 SHA1 2c683fac8de782ef5ae95f7b4ee56991685b0c76 SHA256 4aa2cab90f9b4280d145bf199db499959da195b29d28f8f8b5fa5eb7aa5a5e12 -EBUILD pywcs-1.8.1.ebuild 748 RMD160 d42e0f2f4ecc05fbb3a1d658ceaa8762c19cd5b3 SHA1 099ba4ca97578f97d3f4e80fed413dd9f1997337 SHA256 56138ce4826445f9e29188439dcae903e69a33fed7119a22cc9e9dda37cbad8e -MISC ChangeLog 545 RMD160 860f3b6bbe9e77faf66b141adac2e924646ffe8a SHA1 b2f08c626135a8eaa3516a03b04463d5225b6f40 SHA256 15af02a27db45a71aa253a3c17fdfab0b860268e81b0231010e55cb99519070a +EBUILD pywcs-1.8.1.ebuild 924 RMD160 9905530aabb97be43d819796e7a6e1684f3232b0 SHA1 04df6860121867a8a50b00e786c22e91d8fa206d SHA256 f9f976c12c77f56275801682917f8b0fb565d34e36beb16e75489282ffbef80a +MISC ChangeLog 692 RMD160 b08420ac05649513c0278d072764d2173a74c578 SHA1 0f1ce5f75fdba6360a91224f40c33ccab3ea5f5f SHA256 5859b24e9329454c6d3a09d46e010361288cb4b82a75fcf2d579030d7d2a42fc MISC metadata.xml 374 RMD160 751b95b8cb2d0fa8194e7388b51f5785b4f16d0f SHA1 32790eaab968b07b66c22157f42138b1f56911e6 SHA256 5fe68de0cf26109619592c99a227ee9f4b54f2a18e4c9f95206a63c8275c1b60 diff --git a/dev-python/pywcs/pywcs-1.8.1.ebuild b/dev-python/pywcs/pywcs-1.8.1.ebuild index 0bb35ba46..11a434664 100644 --- a/dev-python/pywcs/pywcs-1.8.1.ebuild +++ b/dev-python/pywcs/pywcs-1.8.1.ebuild @@ -3,6 +3,8 @@ # $Header: $ EAPI=3 +SUPPORT_PYTHON_ABIS="1" + inherit distutils eutils WCS_V=4.4.4 @@ -12,15 +14,19 @@ DESCRIPTION="Python routines for handling the FITS World Coordinate System" HOMEPAGE="https://www.stsci.edu/trac/ssb/astrolib/" SRC_URI="http://stsdas.stsci.edu/astrolib/${MYP}.tar.gz" -DEPEND="dev-python/pyfits - >=sci-astronomy/wcslib-4.4.4" -RDEPEND="${DEPEND}" +COMMON_DEPEND=">=sci-astronomy/wcslib-4.4.4" +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig" +RDEPEND="${COMMON_DEPEND} + dev-python/pyfits" IUSE="" SLOT="0" KEYWORDS="~amd64 ~x86" LICENSE="AURA" +RESTRICT_PYTHON_ABIS="3.*" + S=${WORKDIR}/${MYP} src_prepare(){ @@ -31,5 +37,8 @@ src_prepare(){ src_test() { # FIX: does not work, needs fits files - PYTHONPATH=$(dir -d build/lib*) "${python}" test/test.py || die + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" test/test.py + } + python_execute_function testing } |