From 32dcaf91f634f593fc8569eb09301666ea210ea3 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 16 Aug 2009 20:32:20 +0000 Subject: Version bump. Set SUPPORT_PYTHON_ABIS. Package-Manager: portage-14070-svn/cvs/Linux x86_64 --- dev-python/gnosis-utils/ChangeLog | 8 ++- dev-python/gnosis-utils/Manifest | 5 +- .../files/gnosis-utils-1.2.2-setup.py.patch | 30 +++++++++++ dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild | 62 ++++++++++++++++++++++ 4 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 dev-python/gnosis-utils/files/gnosis-utils-1.2.2-setup.py.patch create mode 100644 dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild (limited to 'dev-python/gnosis-utils') diff --git a/dev-python/gnosis-utils/ChangeLog b/dev-python/gnosis-utils/ChangeLog index 9562e14e3417..d79ffee4f1d6 100644 --- a/dev-python/gnosis-utils/ChangeLog +++ b/dev-python/gnosis-utils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/gnosis-utils # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.14 2009/08/14 21:02:01 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.15 2009/08/16 20:32:20 arfrever Exp $ + +*gnosis-utils-1.2.2 (16 Aug 2009) + + 16 Aug 2009; Arfrever Frehtes Taifersar Arahesis + +gnosis-utils-1.2.2.ebuild, +files/gnosis-utils-1.2.2-setup.py.patch: + Version bump. Set SUPPORT_PYTHON_ABIS. 14 Aug 2009; Arfrever Frehtes Taifersar Arahesis gnosis-utils-1.2.1.ebuild: diff --git a/dev-python/gnosis-utils/Manifest b/dev-python/gnosis-utils/Manifest index 7a0bd5332a34..1e1e0b18ecaa 100644 --- a/dev-python/gnosis-utils/Manifest +++ b/dev-python/gnosis-utils/Manifest @@ -1,4 +1,7 @@ +AUX gnosis-utils-1.2.2-setup.py.patch 838 RMD160 e21fa8ed68aae4cd5905be4be87f971d3e2e20e1 SHA1 a0810a7078f031c1c64f21cc7413df58d66ec996 SHA256 0bd73da85b4eea223a9df5f7940c9d9a2373899bb231ab3d3ebc3db0eebef6f9 DIST Gnosis_Utils-1.2.1.tar.gz 285238 RMD160 24fbf3c718228e6fc634428ed60074b1940d422d SHA1 a2950d1c76fb61e68894f07b5c43e12060d8edd8 SHA256 8a67343a1d192c4586b40f224ce7997e285ccef80390d40ebcfaef95498b1ab7 +DIST Gnosis_Utils-1.2.2.tar.gz 287989 RMD160 eb2010e3ee7e155cf6f84d0b5abf274c85f839ea SHA1 27ce9ccedd8391dec482522ebc0c0d3ed4e350d6 SHA256 5673927f18790511f2a01004a51110e167f7950e7accf9e1bc6832a4bfed4feb EBUILD gnosis-utils-1.2.1.ebuild 1357 RMD160 0e7d02877ca0d5466c223784d2eb387b071bb6af SHA1 c13aa15580cdce576440dea152b902875acfbb04 SHA256 f10c46548ea1fba862c652735156051d9edacdf9b65d29676100a23ad3ec58e3 -MISC ChangeLog 1867 RMD160 da7529ecfd92483c26182d6a5cf84e663cf9c5b4 SHA1 be22b72f3d2e1867a20643f574f8bd1a2a8be72e SHA256 47aba65b3a3e9e3db585eab921c147597daf8534cfb37b067c52a9cd2f51f391 +EBUILD gnosis-utils-1.2.2.ebuild 1475 RMD160 8c0a30d6d314461455f84143db0a6443a63a9c33 SHA1 38afe0a88da13209c3667fe1c04fc4933e32a45d SHA256 21e0efbf6dc4cfff4f8f3e70280a968463a61764b7d71b782af2454fb2ea7549 +MISC ChangeLog 2089 RMD160 f0be13395014f061f17e441c906133ed3fb6a324 SHA1 82744e176bc62f53413be2d8710ff3f9b37b97ad SHA256 155f25fe8125dbf311624d02175702734b318be64e14b3b7dbe3e40da25e7e6e MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/gnosis-utils/files/gnosis-utils-1.2.2-setup.py.patch b/dev-python/gnosis-utils/files/gnosis-utils-1.2.2-setup.py.patch new file mode 100644 index 000000000000..18c690135fcc --- /dev/null +++ b/dev-python/gnosis-utils/files/gnosis-utils-1.2.2-setup.py.patch @@ -0,0 +1,30 @@ +--- setup.py ++++ setup.py +@@ -205,7 +205,7 @@ + copy_all_files = 1 + + def copy_extra_files(): +- destroot = glob(os.path.join('build','lib'))[0] ++ destroot = glob(os.path.join('build-' + os.environ['EPYTHON'][6:],'lib'))[0] + + # go through MANIFEST to see what is supposed to be under build directory + print "Copying extra files to %s ..." % destroot +@@ -413,18 +413,6 @@ + + sys.exit(0) + +-if 'install' in sys.argv: +- +- #if not os.path.isdir('build'): +- #print "** Please run build command first **" +- #sys.exit(1) +- # os.system('%s setup.py build' % sys.executable) +- +- # make sure it's a clean build! +- os.system('%s setup.py build' % sys.executable) +- +- # fall through to do_setup() +- + if 'install_all' in sys.argv: + from disthelper.find_python import get_python_verlist + diff --git a/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild b/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild new file mode 100644 index 000000000000..cc3855c0227d --- /dev/null +++ b/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.2.ebuild,v 1.1 2009/08/16 20:32:20 arfrever Exp $ + +EAPI="2" +NEED_PYTHON="2.1" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils eutils + +MY_P=Gnosis_Utils-${PV} + +DESCRIPTION="XML pickling and objectification with Python." +SRC_URI="http://www.gnosis.cx/download/${MY_P}.tar.gz" +HOMEPAGE="http://www.gnosis.cx/download/" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~x86" +LICENSE="PYTHON" +IUSE="" + +DEPEND="" +RDEPEND="" + +RESTRICT_PYTHON_ABIS="3*" + +PYTHON_MODNAME="gnosis" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + distutils_src_prepare + + epatch "${FILESDIR}/${P}-setup.py.patch" + + # This setup.py installs files according to the MANIFEST. + # MANIFEST shouldn't be installed to avoid collisions. + rm -f MANIFEST || die "rm failed" + sed -i \ + -e "/MANIFEST/d" \ + -e "/gnosis\/doc/d" \ + MANIFEST.in || die "sed failed" + + sed -e "s/with/with_/" -i gnosis/util/convert/pyfontify.py || die "sed failed" +} + +src_test() { + testing() { + cd "${S}"/gnosis/xml/pickle/test + PYTHONPATH="${S}/build-${PYTHON_ABI}/lib" "$(PYTHON)" test_all.py + } + python_execute_function testing +} + +src_install() { + dodoc README gnosis/doc/{*.txt,readme,GETTING_HELP,*ANNOUNCE} + newdoc gnosis/anon/README README.anon + newdoc gnosis/xml/relax/README README.relax.xml + + distutils_src_install + + rm -f "${D}"usr/lib*/python*/site-packages/README +} -- cgit v1.2.3-65-gdbad