idella4 14/08/20 04:16:27 Modified: pyfits-3.3.ebuild ChangeLog Log: add an initial fix to py3 failure in fitscheck, courtesy of Arfrever (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Revision Changes Path 1.2 dev-python/pyfits/pyfits-3.3.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild?r1=1.1&r2=1.2 Index: pyfits-3.3.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- pyfits-3.3.ebuild 22 Jul 2014 14:10:55 -0000 1.1 +++ pyfits-3.3.ebuild 20 Aug 2014 04:16:27 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild,v 1.1 2014/07/22 14:10:55 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.3.ebuild,v 1.2 2014/08/20 04:16:27 idella4 Exp $ EAPI=5 @@ -38,6 +38,10 @@ sed -i \ -e "s/\(hook_package_dir = \)lib/\1$(get_libdir)/g" \ "${S}"/setup.cfg || die + + # https://github.com/spacetelescope/PyFITS/issues/95 + sed -e "s/except UserWarning, w/except UserWarning as w/" -i lib/pyfits/scripts/fitscheck.py + distutils-r1_python_prepare_all } 1.52 dev-python/pyfits/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.52&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?rev=1.52&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pyfits/ChangeLog?r1=1.51&r2=1.52 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v retrieving revision 1.51 retrieving revision 1.52 diff -u -r1.51 -r1.52 --- ChangeLog 22 Jul 2014 14:10:55 -0000 1.51 +++ ChangeLog 20 Aug 2014 04:16:27 -0000 1.52 @@ -1,6 +1,9 @@ # ChangeLog for dev-python/pyfits # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.51 2014/07/22 14:10:55 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.52 2014/08/20 04:16:27 idella4 Exp $ + + 20 Aug 2014; Ian Delaney <[email protected]> pyfits-3.3.ebuild: + add an initial fix to py3 failure in fitscheck, courtesy of Arfrever *pyfits-3.3 (22 Jul 2014)
