summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2013-01-18 23:10:27 +0000
committerPatrick McLean <chutzpah@gentoo.org>2013-01-18 23:10:27 +0000
commitdfe10562a5964d59b95a963b58cd4e71eb501820 (patch)
treef15e2a1d2e9a565ed520820ef1172f3d0616cdf6 /dev-python/pyinotify
parentFix regression introduced by Sergey Popov in version bump unauthorized by Arf... (diff)
downloadhistorical-dfe10562a5964d59b95a963b58cd4e71eb501820.tar.gz
historical-dfe10562a5964d59b95a963b58cd4e71eb501820.tar.bz2
historical-dfe10562a5964d59b95a963b58cd4e71eb501820.zip
Add python-3.3 to PYTHON_TARGETS with a patch to work around bug #438070 (works around bug #364877).
Package-Manager: portage-2.1.11.42/cvs/Linux x86_64 Manifest-Sign-Key: 0xE3F69979BB4B8928DA78E3D17CBF44EF
Diffstat (limited to 'dev-python/pyinotify')
-rw-r--r--dev-python/pyinotify/ChangeLog10
-rw-r--r--dev-python/pyinotify/Manifest23
-rw-r--r--dev-python/pyinotify/files/pyinotify-0.9.4-workaround-sandbox-bug.patch34
-rw-r--r--dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild11
4 files changed, 66 insertions, 12 deletions
diff --git a/dev-python/pyinotify/ChangeLog b/dev-python/pyinotify/ChangeLog
index a665c6054084..c0295617a74b 100644
--- a/dev-python/pyinotify/ChangeLog
+++ b/dev-python/pyinotify/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pyinotify
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/ChangeLog,v 1.49 2012/12/22 20:29:42 mgorny Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/ChangeLog,v 1.50 2013/01/18 23:10:21 chutzpah Exp $
+
+ 18 Jan 2013; Patrick McLean <chutzpah@gentoo.org>
+ +files/pyinotify-0.9.4-workaround-sandbox-bug.patch,
+ pyinotify-0.9.4-r1.ebuild:
+ Add python-3.3 to PYTHON_TARGETS with a patch to work around bug #438070
+ (works around bug #364877).
*pyinotify-0.9.4-r1 (22 Dec 2012)
diff --git a/dev-python/pyinotify/Manifest b/dev-python/pyinotify/Manifest
index 716d625fe370..debf81f88bc6 100644
--- a/dev-python/pyinotify/Manifest
+++ b/dev-python/pyinotify/Manifest
@@ -1,21 +1,30 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX pyinotify-0.9.4-workaround-sandbox-bug.patch 917 SHA256 dec6bbbfdede5fa3bb62aa872e0610c451cc7d3ec2e25f4314380e4c09966490 SHA512 fd5b8c405dac6d1462ff421ed12b959ee0f95e98d4f45f84e2db09dc3264d429793025a02b33df8d32676058550587d56a08df9f51112c7cbcc935eca589c55b WHIRLPOOL 7424e702d3b8682c0a13d6b19316a76be670e6f148727356bde571e2b9654e9ea2209a261b200b3aa05d11a2d5325a9b807384d0f7c30052a88c8d283cb8d658
DIST pyinotify-0.9.2.tar.gz 59856 SHA256 c71f7d059c1c3e5eed560a6fd8beac2fe8512d15653a74ede6821a21d76c660c SHA512 8432b1a2c0e635c343ca9406a3698e0950c2cac8c1666e3c8ac15b2c2d2dcbb54fdf78098b6d088c0150565fb0e43160db8c84146d95ac7b909452c50b5873d0 WHIRLPOOL 0505491a50d7c2db807778f1dc68d90cce367246c1c798fec8a6f77d844825ea29c1a0fff414fc734e0b6d0ddf14610f7753475de9b667859ece3be73883c4d6
DIST pyinotify-0.9.3.tar.gz 59915 SHA256 447b01feaf25a2ad36e4101b583a8212bd701d5c34e330dd62dd9f32ba149aa6 SHA512 edc65d55aae8c164d5047618cb549de600b64e94c79c07c31bf181774b789ed25ca5c3ce3d5ee827e2c6c90c32579791b6f08a7203028dfc572116339e263e3e WHIRLPOOL 20a77f9f5396d925b14ec2b19ed604f3cb9802647b7e81990c118fa7554ac65ee8002e43b497ef9e10dc19afed82073a330dca0ab2a2cdc5aaf90991f0ede6bd
DIST pyinotify-0.9.4.tar.gz 59604 SHA256 a09767e4e0610e2e1e9f9dc89483b0ee4a53764e700f5866a570bec51d003fec SHA512 cdaf9f239a43e3889cdca0ebe1e3559bf6411e4cd829120cc2199cb91122bfe4af62f61a9bf297de28036716f974abd4d7bbeb210e22e96245781fbad08a2b75 WHIRLPOOL aba8f4e4fba5e684e0bade9c3a02a24747f3af4a441209f138223398860da8fdbc6b52546f6cd55134e72c69e6e15b06e45c50767b13ffab6f12afa4484cbfb6
EBUILD pyinotify-0.9.2.ebuild 919 SHA256 573f08eccca787139be05753359aa7b13de2a537f14fe84459fd3dd359a6bcc3 SHA512 24a07443810132bb103f28b14cd4d82caf32dcaa811ed27599b9cf2153a9038c9a972612c7074118a01491c6f7784c5c73ad07ee8a1ff9c8dea1e5fe009fabbe WHIRLPOOL 9a09c0d92b484a47f50103f9300cc4583f1043e6fbcd3aca0cc3d4fb9d7281a800318d47cbf1a58e34dadd6d5ded6969a95d8fab07a9a5ce0f6230b92a508660
EBUILD pyinotify-0.9.3.ebuild 900 SHA256 04b79600ebd548c7c3e3d7afe8e65b4e44bfbd00c901ad43891d60f13cb3a5fe SHA512 5d8c191654b8157798e9457d34c9ee59e7b5bf2e413f0cb8c3b54bab20cefe4f7ac7b23c7cdec9d8b496f34aeb4391b25a265b31ffbdeb4559378c68766411be WHIRLPOOL 33e13129e3c977cc1e44441a393b169466e245e6d32fc1a369bf840fec69d60268038a005106615cbce8adafe0a99b69d52ff990cfdf6aed152ec9e88c98bc1a
-EBUILD pyinotify-0.9.4-r1.ebuild 851 SHA256 e9072a64e394b71fced8cf71490029739d65197e9f29324e4bca2e0ef86a855d SHA512 04ba135894f250b45fb4a3432ad096f2efabaeb49d975615bb8e8319b5b904022a6964a065342a5817fb83558512e17ab13e3d2c03f0a8a35b8a2390498ee4bf WHIRLPOOL b1e26d26921e2e757a4becb7bb022d0c7dec7622761ed111c8e624568e8b6dc481a487b50cacdd7152e90e6d3b775dccc92dc6b09564010a3582579db1014f2b
+EBUILD pyinotify-0.9.4-r1.ebuild 958 SHA256 5396b5385bc867e56bed72e8f2af1c6dc865e1222ffee464a26ad018b803c922 SHA512 532de9bf6b2b433fccf18aa677c7e803c5eec570178a11769f2e3504cad6aaf2b8b6b24f664c32632c74800cf26aa73474f81d242c50d391cf5fed8d609561e3 WHIRLPOOL 1a13db5dabfba8cc9cbc4290c89724071a327fc7abb83340a4a6c6ae5eadeed5e5736156588ace1bf74110cd5bb42733100e143a887a27df8ef2ece9cd107e3f
EBUILD pyinotify-0.9.4.ebuild 900 SHA256 68ce9f0dd664c34026ca65e61042359bedb4415209c322cd53daf60e6d7d29a6 SHA512 a9e5609007f61e73a30eb70214d037e11947c38556cf950733b7683b831ccf4659e5aadc15343c7c1a6c8b6ae9a3581bc770f3839a02f1c0662588cb050da0eb WHIRLPOOL b8b4c40e67380c125c92a3414eaa1f9faf57fd1007c8b04e69f13b0a9ff589ed499298f8a096f89b96f56fcb59926b44e52c654c68a150bcd2df741fd0a0a2af
-MISC ChangeLog 5982 SHA256 9e56a32ecaf485864224d83e8b2d8b813002e11971cba8a0fbe5bd04da6b551f SHA512 415edc67305495cc2e3ef9f70047a58f139d6f6151b649e073b6e901e73916db9b0dd8af1a5ddec19cb5e030272f00a9d75b0f4b3c35ed25f394eba798bb277d WHIRLPOOL e7c2fcdf1becdfab4eba498b4e6c4cf12d2a63b5edd64be99fb26399d32e4715a7a6016ab374a4042b342b8e82213cdf43e3cda1e8aae776bbe8e63d6fe13764
+MISC ChangeLog 6226 SHA256 f86331ccb60c00a4c7facf05844162c5c2566b89502096f6122e857bc2238ddf SHA512 440eceef018d68298a3f2d21dcfaa7b7b59378c1c8fcf58f2e085d51caf571729eccf0fa17681f9f8b5881449ba7cdb3f29225a109ac02b5911c80980e22113d WHIRLPOOL 8eaf48445dc8c359cafda294097aa5eaf1cfa425317ea36057fed79f664ffa61c982de7b8b90697854f85f9ec628abae07d845aa681a42820851dce09ed09025
MISC metadata.xml 159 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 SHA512 d5a29b9f6ecddfc368dc0f1f8919cd3c3d6ecf2c7a82bc8d4c0dd51b7aa15561ed0462acb8ae39bc84f97e706e82d9b4b06357494f164f1648219f604b473fbe WHIRLPOOL 36e19b63a1b307cc200e1d73499b7477f73799db3909e71b5a0916084728351c76d400f65e2c8b3f8fffb2c9ba54c0bd235f785b47414178d98f11d64a9420d7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iJwEAQEIAAYFAlDWGEoACgkQfXuS5UK5QB182QP6Am5k97G2xL2mi36tM7QwdlLk
-D/mxMTUnVHVR+L4kowL4iczebK+OACbYhjAHNcFNBEHU6Si9U2o41yUqOBtsFfp+
-AYt48QUPXuvPRLkpXtEDVjoj2Xt3vfq2UlptH2+n7sb1RGjt7vJw7gtXrfIGjTSN
-FrYl70Jcvxyh9BYfA/4=
-=gng5
+iQIcBAEBCAAGBQJQ+dZeAAoJEHy/RO9cNQiDqWAP/3otyVd/F4S4LllkuAXEaFzl
+DTDmMY9uheDmnvM1buhHM1ycIwR7uy7UnhEYn55e444wpwAOGAZMW3nh1RwUrq9u
+LOXH8MFrJSQuDMrGD3xVydUfgVRJSJccCtRyI8xxKigbK5iyPRrmJlBhqRpnFE5f
+1C3U0qr7YoNQikvc0V1BVLV3a6U+eP8e+miPAnSafnbOYdDtxb5OLFyO+FcrPh5S
+jcACBlQ5o+HxXktIfJ2RaGd0PnTVtbiRJei764v6g3ws6NWoszOUIY5e8uAr1n07
+cEggvWm9zqLcoIaN9fnSiPrwEzME/hCPP/fZbeYYim5zaEvgUUdK+0RXI5zPispm
+vmH+/Ii9Uxb5TA9thKt0hc5OVj5OzRcnztDCDU/s8eWjUEBRrS8N4+ARHFjNkTbb
+RpGtKSjrRb0xKbxza0DVv2hbaNjip+LelVmhSorHibXNUPr+XKElvgSphxR9qXtA
+BioLFF0dRm0Ftu6JfouDn5J/feQ4NKcCA+0H4nDxmwq2rruvBm3e4p5n0r3eHWlW
+GwdeaH4QK6KpSDqQ/YGG0XHhZvbtC8cbnWzD5F7uTkzaMKp816QvHKlaYQ1gaUkh
+xqE+2jSMSQ48QZWv6UlHJgqK055lJlbbImIdUjz0hXzIaCPKNYFlE1jQa8Uw76hg
+wFanT/JrgHCa47upy+qn
+=lfzX
-----END PGP SIGNATURE-----
diff --git a/dev-python/pyinotify/files/pyinotify-0.9.4-workaround-sandbox-bug.patch b/dev-python/pyinotify/files/pyinotify-0.9.4-workaround-sandbox-bug.patch
new file mode 100644
index 000000000000..c19eac1f3e4a
--- /dev/null
+++ b/dev-python/pyinotify/files/pyinotify-0.9.4-workaround-sandbox-bug.patch
@@ -0,0 +1,34 @@
+diff --git a/setup.py b/setup.py
+index c318749..f0a1884 100755
+--- a/setup.py
++++ b/setup.py
+@@ -61,14 +61,25 @@ else:
+
+ def should_compile_ext_mod():
+ try:
+- import ctypes
+- import ctypes.util
+- except:
++ if sys.hexversion >= 0x03030000:
++ from unittest.mock import patch
++ with patch('subprocess.Popen'):
++ import ctypes
++ import ctypes.util
++ else:
++ import ctypes
++ import ctypes.util
++
++ except OSError:
+ return True
+
+ libc_name = None
+ try:
+- libc_name = ctypes.util.find_library('c')
++ if sys.hexversion >= 0x03030000:
++ with patch('subprocess.Popen'):
++ libc_name = ctypes.util.find_library('c')
++ else:
++ libc_name = ctypes.util.find_library('c')
+ except:
+ pass # Will attemp to load it with None anyway.
+
diff --git a/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild b/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild
index 642e8ac8af1d..a4355a6e50d5 100644
--- a/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild
+++ b/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild,v 1.1 2012/12/22 20:29:42 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyinotify/pyinotify-0.9.4-r1.ebuild,v 1.2 2013/01/18 23:10:21 chutzpah Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_8,1_9} )
+PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
inherit distutils-r1
@@ -19,6 +19,11 @@ IUSE="examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND=""
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-workaround-sandbox-bug.patch
+ distutils-r1_src_prepare
+}
+
python_install_all() {
if use examples; then
insinto /usr/share/doc/${PF}/examples