bump(dev-python/setproctitle): sync with upstream

This commit is contained in:
David Michael 2017-05-03 19:56:45 -07:00
parent ff78b069d8
commit 615328184c
16 changed files with 159 additions and 368 deletions

View File

@ -1,116 +0,0 @@
# 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.28 2013/05/20 08:42:37 ago Exp $
20 May 2013; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.7.ebuild:
Stable for x86, wrt bug #470460
19 May 2013; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.7.ebuild:
Stable for amd64, wrt bug #470460
*setproctitle-1.1.7 (10 Mar 2013)
10 Mar 2013; Ian Delaney <idella4@gentoo.org> +setproctitle-1.1.7.ebuild:
bump
01 Mar 2013; Sven Wegener <swegener@gentoo.org> setproctitle-1.1.6.ebuild:
Don't build for python 2.4.
*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
01 Jan 2013; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Add ~ia64, wrt bug #449220
31 Dec 2012; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Stable for x86, wrt bug #449430
31 Dec 2012; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Stable for amd64, wrt bug #449430
31 Dec 2012; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Add ~ppc64, wrt bug #449220
31 Dec 2012; Dirkjan Ochtman <djc@gentoo.org> -setproctitle-1.1.2.ebuild:
Remove old version.
12 Dec 2012; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.6.ebuild:
Add ~ppc, wrt bug #413125
09 Jul 2012; Sébastien Fabbro <bicatali@gentoo.org> setproctitle-1.1.6.ebuild:
keyword amd64-linux and x86-linux
18 May 2012; Jeff Horelick <jdhore@gentoo.org> setproctitle-1.1.3.ebuild:
marked x86 per bug 415879
14 May 2012; Agostino Sarubbo <ago@gentoo.org> setproctitle-1.1.3.ebuild:
Stable for amd64, wrt bug #415879
*setproctitle-1.1.6 (08 May 2012)
08 May 2012; Dirkjan Ochtman <djc@gentoo.org> +setproctitle-1.1.6.ebuild:
Version bump to 1.1.6 (thanks jbergstroem for test fixes).
22 Apr 2012; Raúl Porcel <armin76@gentoo.org> setproctitle-1.1.2.ebuild,
setproctitle-1.1.3.ebuild:
Add ~arm/~sparc
*setproctitle-1.1.3 (24 Dec 2011)
24 Dec 2011; Patrick Lauer <patrick@gentoo.org> +setproctitle-1.1.3.ebuild:
Bump #393103
10 Apr 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
setproctitle-1.1.2.ebuild:
x86 stable wrt bug #360259
26 Mar 2011; Christoph Mende <angelos@gentoo.org> setproctitle-1.1.2.ebuild:
Stable on amd64 wrt bug #360259
*setproctitle-1.1.2 (26 Mar 2011)
26 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+setproctitle-1.1.2.ebuild:
Version bump.
24 Mar 2011; Markos Chandras <hwoarang@gentoo.org> setproctitle-1.1.1.ebuild:
Stable on amd64 wrt bug #360203
*setproctitle-1.1.1 (03 Feb 2011)
03 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-setproctitle-1.1.ebuild, +setproctitle-1.1.1.ebuild:
Version bump.
18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
setproctitle-1.1.ebuild:
Restrict Jython ABIs.
*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)
05 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-setproctitle-1.0.ebuild, +setproctitle-1.0.1.ebuild:
Version bump.
*setproctitle-1.0 (21 Feb 2010)
21 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+setproctitle-1.0.ebuild:
Version bump.
*setproctitle-0.4 (20 Dec 2009)
20 Dec 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+setproctitle-0.4.ebuild, +metadata.xml:
Initial addition (bug #297288).

View File

@ -1,29 +1,7 @@
-----BEGIN PGP SIGNED MESSAGE----- DIST setproctitle-1.1.10.tar.gz 24042 SHA256 6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398 SHA512 c976c5b86f59bc6d0f840f495b8256813169d3d7b9edae70207a24d62e1240bfec954fdc4f67b429ae124e3dc74efd7193404785643a52b2d57b55028bb3c533 WHIRLPOOL 5f0f4d890fb0ea1031d3a46aa8e3d572de0ba27bedd4327138afc379f2f36a4a51517a85627663dfab26b223757ec929c5140f0208f941f3e665e00195bc805c
Hash: SHA512 DIST setproctitle-1.1.8.tar.gz 23208 SHA256 b564cf6488217c7a4632a9fe646fc3a3bea2f9712b4e667e9632b870d1a58211 SHA512 9d0ab8e65afd7e1ac019ea47995498dae1f82d8aebb333dfc4c953e745441cb9a8db942ad8417522d1f9a805bc50ad680f3a37cb4cbbd4214d261d4fed600b20 WHIRLPOOL 4014739eab6ba3d91a15e2c11d9e91ee6a0254a23be1c2f8a7963bc327559a5a7c6197398d6053743a9479562e76873fe47f11a6c810f2c21d3e462440183166
EBUILD setproctitle-1.1.10.ebuild 1241 SHA256 ce120eb06db5861b91547e830627abe529beaade68ce74448f7f26fcf3c76efa SHA512 322f37baa22433c6ee35d013eb9cd029e77dd3174de0d51801c37db19f77a846cac120871ec85deeb9a565396469e81383b5ac9c8501e4a696e2a547557add86 WHIRLPOOL 99bf4b8e853ef5eb119e7250a65758b64260db413f4ce6708e75d93dbec50d879328237c95fae650dc7a8e84352b290d0cd823647f10c0def13c8eab22f61f0d
DIST setproctitle-1.1.3.tar.gz 19286 SHA256 4af97eb01a2febb810a08b46f7f53b460c1eda6beba07895c13ebe756f422306 SHA512 d306e0a1e84ace4d04787a090a2f93df64d3d673e9c96306ee9c4adb985b7616a64e30a73d4fbc577cd810a331734b25a857cb581708c21cb71342cb1861a32d WHIRLPOOL 650c88705d14c6a0208a8c42fdfd4ce1caa9c882552dcae74d289b5eb77d07099fb109179c44e2500b5e6aee3492695eaa07db6e0c14b6bb3701e359263f7ac7 EBUILD setproctitle-1.1.8.ebuild 1513 SHA256 ee330c9dc6c980af1f0c32438fa428e82927a000898c8350ffd98a6b2fa9281d SHA512 1d50b356d04b76f1b3f500ef5172492204239976cb8a53bcf08d6bfe0d0125c72341a47ff5deaf0b561c083330f3b0e331cedf53bf9e30db5f5b6824d6a5ecca WHIRLPOOL c2bcebdee2fff7f2f29af5b46c10234eaeb97b4d955bda865e03dc2f9f7a8da4c69989f55a3a66c36b81dffe99c9f52a731d411ed7b1fca7f83c94d76f27a7e5
DIST setproctitle-1.1.6.tar.gz 22589 SHA256 f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d SHA512 a8423cf628453458f82994020a385d50bdb931870a89c5a40b6ad202b747b8b97ac9c11f3c9772768a39c8319d13f774c77040131306e3cdb060f7ebeac26467 WHIRLPOOL 55545e8e46268ef7a5d38c2abbf002c5dc0b5d3ce5c7fe79414010de1827e502eb4dc4e6763cca701327ad78f03660ff9cd467a1f18b90f62cfae7aa0cddec77 MISC ChangeLog 4004 SHA256 2d80556dfa25de78bd67c9e2a6c904300746f175554d69ed937259d8a3d87901 SHA512 e67bc61f9b2ed9ab2f2686ff16568f26565229e94d5009ea23fa6430cdf02a689c17fe72193b05faec2542e508ebc23cd37d11ccdfc0682803659872474d5d29 WHIRLPOOL ac5abc327a569701e8c6983b8e3ff11429cbb9153f18361bc58f752fb45441fdd18abb9f73ca78b50b83194c4deaafa0dfdbe2f7fcbca5a67ff9331915e6f478
DIST setproctitle-1.1.7.tar.gz 23209 SHA256 c7fca7ca317e309f4d77649ed94ef296e30f8444a9fa75bfb6483b5e70efa882 SHA512 2dc6cfd599329ca881cdbe298496cdd30d27118070fec37db997785eb38bd53e30fe08214fe1e05b29d3a839b80d6baf9fe6cb5d2d3a751063113e16ecdf68ee WHIRLPOOL bea904bf2e38445859e40d16ad24d7e1e09615a29a0508138ff47c203ed6121c914cd5ff9cd8684bcddf0a049ce4ac3b50e6736c212c062c87e2d672851363f7 MISC ChangeLog-2015 6409 SHA256 47050d8cdab93fbcaa2514c45bd679018e0f8bc716a37dd67b254e27762782af SHA512 81cc0cd71fe03151dce43d9487908f0420661f1faefbc79d1956e368e4582011152a2dac9b6ba8f9d7902ecf3235750791570ee08896a60c3d92fd79940a1374 WHIRLPOOL 28513b3ee6955e08a39a273011a31c22edb9bf5fbb95a5c3e3bbff79182e6c11b3e4646a399414fb7cc2b928294f83781545070811c58a75486a820353dcbc28
EBUILD setproctitle-1.1.3.ebuild 1583 SHA256 40faeb05591d32307af129b932a26aeb4b4f0e398c80acb293ed8744c39dbbe6 SHA512 6264d7c5fe79e1331fa1a68d9fecbd4af8d4c087642d5a3a0bd4fc0adb3fa06f48d4fcaa7ec26aa017848a5d639c272b4442523f94251c64bd2c7ea81835cb9d WHIRLPOOL 78e43939bec98fbb1f4c5e48f5cfd8194fc8a80cb5942698b5c3f7a9184df7d24ff10d6229c8e9e91d0507cdb7dc4b7c2587364be19ebd701bfeae2d53b34830 MISC metadata.xml 380 SHA256 0154cc7bb06e220d496233092f08dea7beca4eecb12c0cb5500c68da35fb5ef1 SHA512 eaca32091baa4a9fcd8ffbac6d250c135c0237552a7229aafc3cbb8bdf43450c114f26676964f80f73c2146b0b47934d77bdfdaf8411c069958bd898f69e8004 WHIRLPOOL 54f14cce60f683b44ebe59bf1151dfc97158fc005a77be0580e2a106e9e3f8ab90fcc3714810a5a28cf352cbfeac34fdb68d0843029becbdb3fed2a3811ea31b
EBUILD setproctitle-1.1.6-r1.ebuild 1454 SHA256 c8da87bf68eb225c5cb2c2f6ffa397f67a184e4b33ca864bc0539f863672586f SHA512 4d412385f6acade991db2ce4a7cf8745c5c4593def7c1dbb3a88349b9d4ede5db8820751fd7861bf4379c9b0446aa3a5915447f2d659cc9768c35c0989ee91b1 WHIRLPOOL 9fc07d64e70ba2a7484d9e8b4536f6bb2248bb4f8dab61674f0372dacbb324ea7c2adb314dfbea27614154c4cb709ff59a2d2d3b3cf02853ed72e78ff7f66838
EBUILD setproctitle-1.1.6.ebuild 1703 SHA256 c75e14bfe2ee9e435d185ab2bc8f05b37f2a2af0e53f069d3ac08ad076055021 SHA512 82ed564eee2c428f62f38d4dc1aab57f02bef2c2763bf517de4d294226b52877e8b1fd5ac608d47c3d1f5702fde230b658f867abff7eab859e838be1703e577f WHIRLPOOL 6c447b5a48b000edffa8d8f1ec6205245432c9b02dd229fb6ec6f811bc9a49e970d8db4e0531738108fc9250107c935493a404773281ded2c583062e124caf83
EBUILD setproctitle-1.1.7.ebuild 1446 SHA256 345849a8cb2b432f19fa57508a80e4243883afefb013ba105daf2f196fde9345 SHA512 1cbc0a61a3b465f8310df37aceb78a7d8b95e11f46c84b012fa27edda5b25c210bc3ed4cf0bfdc50e446a603c79e8a5a1888026d77787413a1f4ef34d48016fb WHIRLPOOL 0fa9e5cebce3abd5b202b812b14f4f079aa9c83fe979d04b593b1a02ca55cbb60f0fa1a85eb819ce29bc79f29b069748da8ebd19143d44344057fbb8808732ed
MISC ChangeLog 3838 SHA256 0f44379e55373cdc252d8dfc20534a66d3ecc171448df19997d333dccc9dd521 SHA512 3dc0287978947167a51533fed9f961f0023e7fea27c28916e5bbd142205b4607f4b2d6282ad48264e31cc8a8da2a60a58175588a001224f8c4527c40c8a2616d WHIRLPOOL 85d405436ec51f368d1397c55303ef719a7de118c93d02ed03c34ae156755929bd0af5d471df6f2665a73069a0deda13581196f69169abd2972e90e8568ae121
MISC metadata.xml 235 SHA256 0c79c32d61fec9061bfedbe34a422d35c57d3619fbbd483a2da27c134c534ad8 SHA512 6fd1225e6ed43648c8478f23b75550c0184aa915182366a743aeec64ac30f99dfe544dafe7b4a83387cbe9f2ae212c2124d1da919164f6d7e174881dfa19556c WHIRLPOOL fc441ba4e128835cfc7830354e54573b10f3247b6caa1c5d47ec470a5c7ce3195c1a840bb4334ea3df9858cfd8d06a50ad0cf1d74d6a62d4489603a433d7e44d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
iQIcBAEBCgAGBQJRmeH6AAoJELp701BxlEWfbY8P/01dv87DrjdahwKs6X3LGAse
JkEs+8Neg8ef1IZ3ovuPUNMauNXfSgSlCPVJGeOtKBBMbUtNxjZh5UNlPsF+x2FO
cnKC7CKkTXakeImjDcWCPKuPqwGfFHo+T0FeyjaTGW7UjNqjoeHW9ioHzHyYmHV5
DG1tmVZ2cB8flOD11MuYDmBsVuRjz98yncuAClNLJsusiMt/Rg0nkgaLyR4NVK7E
+U8vVL1QFbw7nN0l8eF4l8R9hPvOEfdg3duyX9iaIef+CqHCmP411BkOyZxUUUJl
ssAxVcTVUHyDecVZb7kEhLqnh0hvPkGrw9p3p9vcAW8QYSrleb7bFOUnevZBamNH
Xkl0Mj4PKi9rQuiy9GA5SM/M2MYARI9Zlqsf9qHLNqfqAIVYjerQKyN3ZzRZdWJz
ODzEABGdhaHUsM3KNmVKiMjbv2OrRTD9GiW613mR8eYaiNh7/P3nvg1y7zdM57qa
1Wj1l+/j7rUOBUw1nWQ1q5rl12zrwbPBOEq4PjKqyRmYI2pC7jdWo6MowrNwt0IQ
rAjLd+bMuP2urH8Bb9KPdXTeiFeVLAjuxVXl6dbMQ1oq0IYyXVklrCnbQ8V0YVGG
A+jofLOHwmf9ybO5rFhAxX9DUXl68uRtD9AvJeRA4oVLnKPMbPKARt4kyKjOWq/K
uMCKUlkJ345IOx2/qUpX
=ZdL8
-----END PGP SIGNATURE-----

View File

@ -1,8 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata> <pkgmetadata>
<herd>python</herd> <maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream> <upstream>
<remote-id type="pypi">setproctitle</remote-id> <remote-id type="pypi">setproctitle</remote-id>
<remote-id type="github">dvarrazzo/py-setproctitle</remote-id>
</upstream> </upstream>
</pkgmetadata> </pkgmetadata>

View File

@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# pypy doesn't get started in test run. Still required by www-servers/gunicorn
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
inherit distutils-r1 toolchain-funcs
DESCRIPTION="Allow customization of the process title"
HOMEPAGE="https://github.com/dvarrazzo/py-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 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
# Required for re-write of test suite
DISTUTILS_IN_SOURCE_BUILD=1
python_compile_all() {
# Make a nice html file
rst2html.py README.rst > README.html
# The README.rst will be duplicated in src_install
rm README.rst || die
}
python_test() {
# The suite via the Makefile appears to not cater to pypy
[[ ${EPYTHON} =~ pypy ]] && return
# prepare embedded executable
emake \
CC="$(tc-getCC)" \
PYINC="$(python_get_CFLAGS)" \
PYLIB="$(python_get_LIBS)" \
check
}

View File

@ -1,52 +0,0 @@
# 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.3.ebuild,v 1.5 2013/03/01 09:12:16 swegener Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils 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="amd64 ~arm ~sparc 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
}
distutils_src_test_pre_hook() {
ln -fs pyrun-${PYTHON_ABI} tests/pyrun
}
src_test() {
build_pyrun() {
echo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
}
python_execute_function -q -s build_pyrun
distutils_src_test
}

View File

@ -1,51 +0,0 @@
# 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}"
}

View File

@ -1,53 +0,0 @@
# 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.ebuild,v 1.10 2013/03/01 09:12:16 swegener Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="*-jython 2.4"
DISTUTILS_SRC_TEST="nosetests"
inherit distutils 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=""
DEPEND=""
RDEPEND=""
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
DOCS="HISTORY.rst README.rst"
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
}
distutils_src_test_pre_hook() {
local version=$(python_get_version -l --major)
ln -fs pyrun-${PYTHON_ABI} tests/pyrun${version}
}
src_test() {
build_pyrun() {
echo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
$(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
}
python_execute_function -q -s build_pyrun
distutils_src_test
}

View File

@ -1,25 +1,23 @@
# Copyright 1999-2013 Gentoo Foundation # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.7.ebuild,v 1.3 2013/05/20 08:42:37 ago Exp $
EAPI=5 EAPI=5
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} ) # pypy doesn't get started in test run. Still required by www-servers/gunicorn
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
inherit distutils-r1 toolchain-funcs inherit distutils-r1 toolchain-funcs
DESCRIPTION="Allow customization of the process title." DESCRIPTION="Allow customization of the process title"
HOMEPAGE="http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle" HOMEPAGE="https://github.com/dvarrazzo/py-setproctitle"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD" LICENSE="BSD"
SLOT="0" SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test" IUSE="test"
RDEPEND="" 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}] )" DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
DOCS=( HISTORY.rst README.rst ) DOCS=( HISTORY.rst README.rst )
@ -42,10 +40,18 @@ python_test() {
cd "${BUILD_DIR}" || die cd "${BUILD_DIR}" || die
if [[ ${EPYTHON} =~ pypy ]]; then
# The suite via the Makefile appears to not cater to pypy
return
else
CPPFLAGS="${CPPFLAGS} $(python_get_CFLAGS)"
LDLIBS="$(python_get_LIBS)"
fi
# prepare embedded executable # prepare embedded executable
emake tests/pyrun CC="$(tc-getCC)" \ emake tests/pyrun CC="$(tc-getCC)" \
CPPFLAGS="${CPPFLAGS} $(python-config --cflags)" \ CPPFLAGS="${CPPFLAGS}" \
LDLIBS="${LDLIBS} $(python-config --libs)" LDLIBS="${LDLIBS}"
nosetests || die "Tests fail with ${EPYTHON}" nosetests --verbose || die "Tests fail with ${EPYTHON}"
} }

View File

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# pypy doesn't get started in test run. Still required by www-servers/gunicorn
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
inherit distutils-r1 toolchain-funcs
DESCRIPTION="Allow customization of the process title"
HOMEPAGE="https://github.com/dvarrazzo/py-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 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND=""
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
# Required for re-write of test suite
DISTUTILS_IN_SOURCE_BUILD=1
python_compile_all() {
# Make a nice html file
rst2html.py README.rst > README.html
# The README.rst will be duplicated in src_install
rm README.rst || die
}
python_test() {
# The suite via the Makefile appears to not cater to pypy
[[ ${EPYTHON} =~ pypy ]] && return
# prepare embedded executable
emake \
CC="$(tc-getCC)" \
PYINC="$(python_get_CFLAGS)" \
PYLIB="$(python_get_LIBS)" \
check
}

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=dev-python/setuptools[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Allow customization of the process title
EAPI=5
HOMEPAGE=https://github.com/dvarrazzo/py-setproctitle
IUSE=test python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.10.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=d9fc7ec954882f29e20244b526dcec6b

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=dev-lang/python test? ( dev-python/nose )
DESCRIPTION=Allow customization of the process title.
EAPI=3
HOMEPAGE=http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle
IUSE=test
KEYWORDS=amd64 ~arm ~sparc x86
LICENSE=BSD
RDEPEND=dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.3.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=4e50f6b962aa363fffe9a7a43ecff8fc

View File

@ -1,13 +0,0 @@
DEFINED_PHASES=compile install postinst postrm prepare test
DEPEND=dev-lang/python test? ( dev-python/nose )
DESCRIPTION=Allow customization of the process title.
EAPI=3
HOMEPAGE=http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle
IUSE=test
KEYWORDS=~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux
LICENSE=BSD
RDEPEND=dev-lang/python
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.6.tar.gz
_eclasses_=distutils ad9e4720eb3e69090dd968b152fc611b multilib 165fc17c38d1b11dac2008280dab6e80 python efc1c55fc44c5b7272fc2ffba73c3e6f toolchain-funcs 1b1da0c45c555989dc5d832b54880783
_md5_=cfa1547b47b1fc1812b0a98382b4b8df

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Allow customization of the process title.
EAPI=5
HOMEPAGE=http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle
IUSE=test python_targets_python2_7
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux
LICENSE=BSD
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.6.tar.gz
_eclasses_=distutils-r1 f1707af2d2ad4cf700a9e690de6ed855 eutils ea170b525f6a38a006be05c9d9429f13 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d275302cd06aedef2ba08f81f3104206 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
_md5_=d42d202f6e10c86e9ad37d8b13853808

View File

@ -1,14 +0,0 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
DESCRIPTION=Allow customization of the process title.
EAPI=5
HOMEPAGE=http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle
IUSE=test python_targets_python2_7
KEYWORDS=~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux
LICENSE=BSD
RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
REQUIRED_USE=|| ( python_targets_python2_7 )
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.7.tar.gz
_eclasses_=distutils-r1 f1707af2d2ad4cf700a9e690de6ed855 eutils ea170b525f6a38a006be05c9d9429f13 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multiprocessing eb9be4b678c4e71f3f530a767df31912 python-r1 dcd61d7a5c283f18cfe763552b09eb88 python-utils-r1 d275302cd06aedef2ba08f81f3104206 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
_md5_=c9431f7848269e7d65ddebe90cb83d94

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Allow customization of the process title
EAPI=5
HOMEPAGE=https://github.com/dvarrazzo/py-setproctitle
IUSE=test python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.8.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=32d9c1be747ed80ff295f2ce759392fe

View File

@ -0,0 +1,14 @@
DEFINED_PHASES=compile configure install prepare test
DEPEND=test? ( dev-python/nose[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)] ) python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
DESCRIPTION=Allow customization of the process title
EAPI=5
HOMEPAGE=https://github.com/dvarrazzo/py-setproctitle
IUSE=test python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6
KEYWORDS=~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
LICENSE=BSD
RDEPEND=python_targets_pypy? ( >=virtual/pypy-5:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) python_targets_python3_6? ( dev-lang/python:3.6 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,python_targets_python3_6(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),-python_single_target_python3_6(-)]
REQUIRED_USE=|| ( python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 )
SLOT=0
SRC_URI=mirror://pypi/s/setproctitle/setproctitle-1.1.9.tar.gz
_eclasses_=distutils-r1 039ba10839816478cfb070fdeb053906 epatch 8233751dc5105a6ae8fcd86ce2bb0247 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 9c113d6a64826c40154cad7be15d95ea ltprune 2770eed66a9b8ef944714cd0e968182e multibuild 72647e255187a1fadc81097b3657e5c3 multilib 0236be304ee52e7f179ed2f337075515 multiprocessing 284a473719153462f3e974d86c8cb81c python-r1 0c067f080a047742ffac024b16895b45 python-utils-r1 c11fc374357e6ad9ddfe2e9f931e4d29 toolchain-funcs 6eb35f81556258a4bc9182ad3dfd58ee xdg-utils b9389dfad0ee8f8e0b2a41b79fcf7120
_md5_=91dfdd5b332a44af1f2ffc1fc6314a7b