summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-02-15 16:52:25 +0000
committerMichał Górny <mgorny@gentoo.org>2013-02-15 16:52:25 +0000
commita4a6de78fb5705a81864505939d6eb7ed286d71f (patch)
tree5bde8095b0d91dcafc9fdb5c7ac1dea630930b77 /dev-python/setproctitle
parentFix build with ffmpeg-1 / libav-9, bug #443184 (diff)
downloadhistorical-a4a6de78fb5705a81864505939d6eb7ed286d71f.tar.gz
historical-a4a6de78fb5705a81864505939d6eb7ed286d71f.tar.bz2
historical-a4a6de78fb5705a81864505939d6eb7ed286d71f.zip
Migrate to distutils-r1.
Package-Manager: portage-2.2.0_alpha163/cvs/Linux x86_64 Manifest-Sign-Key: 0x42B9401D
Diffstat (limited to 'dev-python/setproctitle')
-rw-r--r--dev-python/setproctitle/ChangeLog7
-rw-r--r--dev-python/setproctitle/Manifest15
-rw-r--r--dev-python/setproctitle/setproctitle-1.1.6-r1.ebuild51
3 files changed, 71 insertions, 2 deletions
diff --git a/dev-python/setproctitle/ChangeLog b/dev-python/setproctitle/ChangeLog
index 23f69c2ecc64..652569d99b38 100644
--- a/dev-python/setproctitle/ChangeLog
+++ b/dev-python/setproctitle/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/setproctitle
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.23 2013/01/01 14:17:05 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.24 2013/02/15 16:52:24 mgorny Exp $
+
+*setproctitle-1.1.6-r1 (15 Feb 2013)
+
+ 15 Feb 2013; Michał Górny <mgorny@gentoo.org> +setproctitle-1.1.6-r1.ebuild:
+ Migrate to distutils-r1.
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Add ~alpha, wrt bug #449220
diff --git a/dev-python/setproctitle/Manifest b/dev-python/setproctitle/Manifest
index 90634d66c9cf..cdafaa920ebb 100644
--- a/dev-python/setproctitle/Manifest
+++ b/dev-python/setproctitle/Manifest
@@ -1,6 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST setproctitle-1.1.3.tar.gz 19286 SHA256 4af97eb01a2febb810a08b46f7f53b460c1eda6beba07895c13ebe756f422306 SHA512 d306e0a1e84ace4d04787a090a2f93df64d3d673e9c96306ee9c4adb985b7616a64e30a73d4fbc577cd810a331734b25a857cb581708c21cb71342cb1861a32d WHIRLPOOL 650c88705d14c6a0208a8c42fdfd4ce1caa9c882552dcae74d289b5eb77d07099fb109179c44e2500b5e6aee3492695eaa07db6e0c14b6bb3701e359263f7ac7
DIST setproctitle-1.1.6.tar.gz 22589 SHA256 f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d SHA512 a8423cf628453458f82994020a385d50bdb931870a89c5a40b6ad202b747b8b97ac9c11f3c9772768a39c8319d13f774c77040131306e3cdb060f7ebeac26467 WHIRLPOOL 55545e8e46268ef7a5d38c2abbf002c5dc0b5d3ce5c7fe79414010de1827e502eb4dc4e6763cca701327ad78f03660ff9cd467a1f18b90f62cfae7aa0cddec77
EBUILD setproctitle-1.1.3.ebuild 1581 SHA256 99f859d37d842820fc2c3739af7e60a113e1a4b9930ef8b4b0aa6ed9ea3b2472 SHA512 d3cee06bdf58781341463af3a7e2654ca0e62d532fe6d76121d334f0727681534eb2b63d43ac63aa6ee251fd1a9af3911acc326a3730cab7ae2a5dc8f282370c WHIRLPOOL 3a2178f89de779f42b94e84e845eee55fc016dff2de9aa044642bcc961d55007a1f1ca63b90c8cd042a558b9fae1cb0df3111e8fed64fbb7622a8ac9c842f190
+EBUILD setproctitle-1.1.6-r1.ebuild 1454 SHA256 c8da87bf68eb225c5cb2c2f6ffa397f67a184e4b33ca864bc0539f863672586f SHA512 4d412385f6acade991db2ce4a7cf8745c5c4593def7c1dbb3a88349b9d4ede5db8820751fd7861bf4379c9b0446aa3a5915447f2d659cc9768c35c0989ee91b1 WHIRLPOOL 9fc07d64e70ba2a7484d9e8b4536f6bb2248bb4f8dab61674f0372dacbb324ea7c2adb314dfbea27614154c4cb709ff59a2d2d3b3cf02853ed72e78ff7f66838
EBUILD setproctitle-1.1.6.ebuild 1693 SHA256 216900daf92108175f691080c2d0b17f9dd0fb11e9e36afca0711633ebdecb10 SHA512 c07e0642ff93d7f1c6cc88fb802a2da35d5c337e28c7b7207242d77d9016dff4f4908474d3858ec77fb88d7a2c9924675931864de575b2dc274d6acb24b05168 WHIRLPOOL 511b9e90551bb2bd81f18d0d6e41bd37cc94df5dd7c093d4c75e35d4336dd0af80f723ca9330061369009c29ec2136076a55159ac37418d05f5a6bcdbfee068a
-MISC ChangeLog 3240 SHA256 67c0e36256d211bdf33fc7bc1aaf0422332989fd0cdb3798f502ecfc67a9afc3 SHA512 0d7e77957f1f3a4c922eeb1d2501e80d645d465937e5299b14dfe29aaf6d898400f0d2c6e98ca7d76490698776e778a34d061f54e4405fed4ce489826c7eae4f WHIRLPOOL 0053510fac87a585b6bcf485fa88cdee6b8e50ac4ad112c267840df642296e1f267f388475d535920eb8ca7ff358a066aed0628b28b06375631004848b14ad2c
+MISC ChangeLog 3390 SHA256 1e7362612a2aea9e8bf24359fc9f10b0b73a04fe7f6be2b5ca4471cbaa15c7c6 SHA512 48066436790112dfa1b063b1db858b05ff4ff9bed57580fc6178c7a8b791154a300548ab83abcf0a7b769d3ba77ae0d28edd9868626187b2eb631336afcddb60 WHIRLPOOL a4eaa8d5d60707d654e8acffa5e32509111007b323d64047d005a6172b5708b2d5ddb0b42628e699544037383bd52b9072187954fedddfb79b88857217e5d9a6
MISC metadata.xml 235 SHA256 0c79c32d61fec9061bfedbe34a422d35c57d3619fbbd483a2da27c134c534ad8 SHA512 6fd1225e6ed43648c8478f23b75550c0184aa915182366a743aeec64ac30f99dfe544dafe7b4a83387cbe9f2ae212c2124d1da919164f6d7e174881dfa19556c WHIRLPOOL fc441ba4e128835cfc7830354e54573b10f3247b6caa1c5d47ec470a5c7ce3195c1a840bb4334ea3df9858cfd8d06a50ad0cf1d74d6a62d4489603a433d7e44d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iJwEAQEIAAYFAlEeZ9YACgkQfXuS5UK5QB0zDwQAq9LN+E78AwKHeJThyNGWbJeV
+QcWoLBZkoFKXq4d0Lw9fgJ8yw3WTRaK9K3ip7Urljs4T+yUo6xrMR4mirrNGozb+
+1dO2ZIYAzvg5aXMnI2yR+QlBZBvEzil4Xw9zP7RV6KvV1zGICV7bIeVIwBjuZHk2
+XGkLrxciUQKVoj+sbkk=
+=6HF8
+-----END PGP SIGNATURE-----
diff --git a/dev-python/setproctitle/setproctitle-1.1.6-r1.ebuild b/dev-python/setproctitle/setproctitle-1.1.6-r1.ebuild
new file mode 100644
index 000000000000..efa655ef7c00
--- /dev/null
+++ b/dev-python/setproctitle/setproctitle-1.1.6-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.6-r1.ebuild,v 1.1 2013/02/15 16:52:24 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Allow customization of the process title."
+HOMEPAGE="http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+# on <py2.7 the test suite uses SkipTest from nose,
+# so we need to run it using nose.
+DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
+
+DOCS=( HISTORY.rst README.rst )
+
+python_prepare_all() {
+ sed -i -e "/pyrun/s:%s'.*):'):" tests/*.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ cp -r -l tests "${BUILD_DIR}"/ || die
+
+ if [[ ${EPYTHON} == python3.* ]]; then
+ # Notes:
+ # -W is not supported by python3.1
+ # -n causes Python to write into hardlinked files
+ 2to3 --no-diffs -w "${BUILD_DIR}"/tests/*.py || die
+ fi
+
+ cd "${BUILD_DIR}" || die
+
+ # prepare embedded executable
+ emake tests/pyrun CC="$(tc-getCC)" \
+ CPPFLAGS="${CPPFLAGS} $(python-config --cflags)" \
+ LDLIBS="${LDLIBS} $(python-config --libs)"
+
+ nosetests || die "Tests fail with ${EPYTHON}"
+}