Version bump (bug #327919).
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Mon, 19 Jul 2010 00:14:13 +0000 (00:14 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Mon, 19 Jul 2010 00:14:13 +0000 (00:14 +0000)
Package-Manager: portage-HEAD/cvs/Linux x86_64

dev-python/setproctitle/ChangeLog
dev-python/setproctitle/Manifest
dev-python/setproctitle/setproctitle-1.1.ebuild [new file with mode: 0644]

index 2cf5b5c809cd2a50fae78f047120476d1ee464e0..31918a5b6d631113554b2e7e51b8724c529eae9a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-python/setproctitle
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.3 2010/06/05 21:21:53 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.4 2010/07/19 00:14:13 arfrever Exp $
+
+*setproctitle-1.1 (19 Jul 2010)
+
+  19 Jul 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+  -setproctitle-1.0.1.ebuild, +setproctitle-1.1.ebuild:
+  Version bump (bug #327919).
 
 *setproctitle-1.0.1 (05 Jun 2010)
 
index 1f84b97793002315b2cc2e8c6c65ca68a4fe7765..1e02acebafd9eeabf1d301a05063bcff372b4376 100644 (file)
@@ -1,4 +1,4 @@
-DIST setproctitle-1.0.1.tar.gz 12867 RMD160 8d80bda6caf8de486a96d55ea85bb697c4732e2d SHA1 ae9e2373ba43e65cf3a7463c08eaf39c0a456b25 SHA256 2fc197f8630917eea14fb92215e6550da71486841eba7f638048348ec0c0fe83
-EBUILD setproctitle-1.0.1.ebuild 689 RMD160 49b17c26957a1d9a526320042935fd4359829247 SHA1 a88b57c93ed0c379b1b4b334e7432cb7036b519e SHA256 9ee94716e1edfe5260d96f0020890d6fc27fdcc56ae5e61bacc4c750ba530829
-MISC ChangeLog 737 RMD160 649635ae57803ba1ef6121d164e3f782147b560b SHA1 db37d0ead0cb2d6dd4a9b56e9460343dff614910 SHA256 98124de5a011ae8fe58c2c6162428b8fb571f66d2997bb343ef971f6d1883994
+DIST setproctitle-1.1.tar.gz 17102 RMD160 6c34b4bb07759441c095d2758b42248917fc93fc SHA1 fa497c7cf4b0a0f2c29f1b9c403aba1ff40539b5 SHA256 03c437f3a0e893b20a2511140625ce8e121d403f153234d1de0ea69d85b61ca5
+EBUILD setproctitle-1.1.ebuild 1484 RMD160 22f3df67ba8637d68c889d7883a233b68d3c6a31 SHA1 7a73e58566b6e81ce9c0c999e3ebca37af9af5ac SHA256 e42c16199b69f80ddce0ecee19bce145231f4eecbda8500455dda22b9875f590
+MISC ChangeLog 930 RMD160 508b301f0b9a56a7b1a975cb594b75f6b44eb15c SHA1 00acef801e4214457ae1c30393253e12b5161665 SHA256 32ec9f554ed23acaede9c2689e478f0a87b3ca590f23b4b27c5cd3a52539d659
 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a
diff --git a/dev-python/setproctitle/setproctitle-1.1.ebuild b/dev-python/setproctitle/setproctitle-1.1.ebuild
new file mode 100644 (file)
index 0000000..3700dec
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.ebuild,v 1.1 2010/07/19 00:14:13 arfrever Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="Allow customization of the process title."
+HOMEPAGE="http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
+DOCS="HISTORY README"
+
+src_prepare() {
+       python_copy_sources
+
+       conversion() {
+               [[ "${PYTHON_ABI}" == 2.* ]] && return
+               2to3-${PYTHON_ABI} -w --no-diffs tests > /dev/null
+       }
+       python_execute_function \
+               --action-message 'Applying patches for $(python_get_implementation) $(python_get_version)' \
+               --failure-message 'Applying patches for $(python_get_implementation) $(python_get_version) failed' \
+               -s conversion
+}
+
+src_test() {
+       testing() {
+               if [[ "${PYTHON_ABI}" == 2.* ]]; then
+                       echo PYTHONPATH="$(ls -d build/lib.*)" nosetests
+                       PYTHONPATH="$(ls -d build/lib.*)" nosetests || return 1
+               else
+                       echo PYTHONPATH="$(ls -d build/lib.*)" "$(PYTHON)" tests/setproctitle_test.py
+                       PYTHONPATH="$(ls -d build/lib.*)" "$(PYTHON)" tests/setproctitle_test.py || return 1
+               fi
+       }
+       python_execute_function -s testing
+}