summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2014-12-28 19:41:50 +0000
committerMike Gilbert <floppym@gentoo.org>2014-12-28 19:41:50 +0000
commit7ae876f0ef4f539114bfee50cfb0df9eb74bc9c0 (patch)
treef1287afe6ec7a6a8464bfb885841cdd3696cbed3 /dev-python/twisted-core
parentpython-r1 cleanup. (diff)
downloadhistorical-7ae876f0ef4f539114bfee50cfb0df9eb74bc9c0.tar.gz
historical-7ae876f0ef4f539114bfee50cfb0df9eb74bc9c0.tar.bz2
historical-7ae876f0ef4f539114bfee50cfb0df9eb74bc9c0.zip
Cleanup CFLAGS handling.
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x0BBEEA1FEA4843A4
Diffstat (limited to 'dev-python/twisted-core')
-rw-r--r--dev-python/twisted-core/ChangeLog8
-rw-r--r--dev-python/twisted-core/Manifest32
-rw-r--r--dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild13
-rw-r--r--dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild9
-rw-r--r--dev-python/twisted-core/twisted-core-13.2.0.ebuild9
-rw-r--r--dev-python/twisted-core/twisted-core-14.0.0.ebuild7
-rw-r--r--dev-python/twisted-core/twisted-core-14.0.1.ebuild7
-rw-r--r--dev-python/twisted-core/twisted-core-14.0.2.ebuild7
8 files changed, 38 insertions, 54 deletions
diff --git a/dev-python/twisted-core/ChangeLog b/dev-python/twisted-core/ChangeLog
index 77af5fe35fb9..0f932708609c 100644
--- a/dev-python/twisted-core/ChangeLog
+++ b/dev-python/twisted-core/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/twisted-core
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.41 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/ChangeLog,v 1.42 2014/12/28 19:41:47 floppym Exp $
+
+ 28 Dec 2014; Mike Gilbert <floppym@gentoo.org> twisted-core-12.3.0-r1.ebuild,
+ twisted-core-13.0.0-r3.ebuild, twisted-core-13.2.0.ebuild,
+ twisted-core-14.0.0.ebuild, twisted-core-14.0.1.ebuild,
+ twisted-core-14.0.2.ebuild:
+ Cleanup CFLAGS handling.
12 Dec 2014; Michał Górny <mgorny@gentoo.org> twisted-core-12.3.0-r1.ebuild,
twisted-core-13.0.0-r3.ebuild, twisted-core-13.2.0.ebuild,
diff --git a/dev-python/twisted-core/Manifest b/dev-python/twisted-core/Manifest
index 5f7db2b996d2..804f8b0c6470 100644
--- a/dev-python/twisted-core/Manifest
+++ b/dev-python/twisted-core/Manifest
@@ -14,30 +14,18 @@ DIST TwistedCore-13.2.0.tar.bz2 1496299 SHA256 396ee27f0e824772bf26c636c69c27511
DIST TwistedCore-14.0.0.tar.bz2 1126188 SHA256 41fde42b917ea91c74e9ad15ae45a8104de156bcb32e7bb6a2dfa6c68141a72e SHA512 71294a10fb574d1794b730f11f89a689445ff13cf5553140dbbe049a03afe744bcc342cbff60b6d74714575bf840814fcddb0a7c94f5def1987966e0f1238704 WHIRLPOOL 1c68af280d33d0f6ce431a18f87bfa4f679aeab7f6217b388e8f7c7cb78d1b5e4587f3d3f02ccc0b7f87f6dc359c35aa15b0ee58f86385637a5d2236e7563c39
DIST TwistedCore-14.0.1.tar.bz2 1126214 SHA256 4d80bb277bff34266fb03989d89f721ae41edfc755f4c0481813c04a759f16dc SHA512 44ef2e66636da1f7c6497cf1a4bacfdfdffd276e5b0f99b22c70f74a016de6f88a263fc549db3f04e09e86142514955bc79662760148680fb8ec823720a57a41 WHIRLPOOL ccd1acaf7f732d02b4fd45ca8285b8bbbcd3066176280b929a65879b4530f5158db8134296a35ffe565d2a8b72299ecf93329752bf5b409b60313a930cb1d876
DIST TwistedCore-14.0.2.tar.bz2 1125732 SHA256 3d16cc6f432ecda1cc335b9a99592ee18d7eb8650e95d5f17895ab4e5e3a4ff8 SHA512 a361f5c9205eca3eda9bf222ed1894e1c55ff937e9950c0cfca193310a165486abffee529740c2c3cc0231c4ccba4d324e2ec7ef5d1aaa9516960b01e2e81ed9 WHIRLPOOL be3b1f70e616c48944741395e8c22240ea05d7f9c823b3b58ff9bebbe1d7293d0fb054b4820e19873aa1feb8d2c1e19fb84be1f632466b2c1d951900d1705d0b
-EBUILD twisted-core-12.3.0-r1.ebuild 3514 SHA256 779e4069daee89da1d62b49150b31a30f294f4c3d6569e70166a11fe30250b1b SHA512 cea4b06927420f9a1a28a0a129d6d49e407bb3d1677591d4009377c1d9397320913c43e0795f15b82647d9c0d8d61beec49968bc89e8641a64b0d5c1b21f3932 WHIRLPOOL 4174ca166eb4adf7ca0a255e243ef02b941cc6bc6ea403751df16a4e480524113836455e946403247e0417a819bd563fe58b3b9d899f05af13c7fd113d898f11
-EBUILD twisted-core-13.0.0-r3.ebuild 3365 SHA256 9f62fff9600c806d5f99991365b84b0303d2cfd362530ae862e747fc219e1960 SHA512 8005b70657dd4e3d2cfff2bbec66772f813d8e7334634d2925cd381d60aa68968955bfa5cd6451168da28cd0acb00f6a8f4615b7392b9795fd2ee3a886d4652a WHIRLPOOL f03ecaeaea640c3a2221cca773760b0b4f2c39203e4d009d4de7b061c0adcff34f72d1a5095c2117e140c3d7960278327781074dec16dc46ed44e45d93c7aaa8
-EBUILD twisted-core-13.2.0.ebuild 3699 SHA256 8148405ef8ff2c6e42b38eb8f64448bed7216790a3ee989f44f4e0ae23a0d43a SHA512 c09891bdbc432ea86379a26f56246c4df181a3dac1d2b6c2c6b7188deb977ff5a0578d83faf78615477ffe7fe46346dae3a55dfaf7a8307e2973690246cff749 WHIRLPOOL ab67951c778756139166f06461bc450de0e46a779c480c35930a0ed2f308150ee127218009f1799d2de492778573a3b16d6c6aef3d3243e19c179b294c3eb2d5
-EBUILD twisted-core-14.0.0.ebuild 4196 SHA256 9f0d260af55e3bffe2d42aa14dff2101f049e547470565d4dfbcd2a38645509f SHA512 6cdfec0cb697bdba9cda20f4ec6b38b50e82eb335a9011e79f3d95274d4504bcf1ae8791c8149a71f2165d4233539ded70f83087ae6ea6e59223a7fdb28e695b WHIRLPOOL 14beaa7b1501b631f659565acb84835544c35f0b6c58d98473adec9ea3f01b8e2adb50cda598d3e0adcde1d1e04d65b033afa4907d2cdd67aaf0e5557aef5a4f
-EBUILD twisted-core-14.0.1.ebuild 4349 SHA256 cfbf360c5c899b79b93b8ad7e74c94638f6073dda70f2e48b2ea420cf0cd990a SHA512 240037060ad42fd38d7389b8fb8d9544fdfcf18b6dc12e02a56f0e2baa6aa20592eed62d86c207388b5fc3ac4b44318f0a7c96d5cb75723e3f4099880042b80f WHIRLPOOL 0fb64dd6b0df111865e79b57c3b3a233d0c9375359dafebc0e700f6c8ceb90035559696f5de1c3d13745475b84a3cb9580004e2dda312a0cf4619c893eec7efb
-EBUILD twisted-core-14.0.2.ebuild 4349 SHA256 42dc7ba8528922fba0c091082b58492fc5fb6053ac36c35f4ff64fd5b3da9a40 SHA512 270f0b98c59636b4f214f8eede9c30172263eeae8678ef42881e527b6ee906e056e6383ec0ad69b073fe79bd1c6dd25a619f30e4a4f5942a1a59d17c5b80e373 WHIRLPOOL 696b0e2ad284ce98c637ba35033f2f8fa7ba36c399ea0798ba34a4cadcc8804ea5f80e0fa2eb914196ebb0e541bd5b026775300cfe75335dae69de6b9875d174
-MISC ChangeLog 30941 SHA256 a09ee562b84857dd812ace8a8f8cbd9c3830ea2701f17298935edb67b7a5787f SHA512 37011fdea4cfcbc35fcf38b0741d61ed4d13972dd4d0f87c67929f24c0d25664c8c8adb4a89998bfc2f4851f474646e2c1285a97917eb1b9b913eff811256048 WHIRLPOOL b17927098e7935d8593a8f18c11425cf8c292e679b1730653c825d5951ee565888aac88b7fd992e4a6cbd0de07743b62a2db4a339859ddf58268c2b8f73764e4
+EBUILD twisted-core-12.3.0-r1.ebuild 3411 SHA256 99857d40e9a034cd2cc02def4c14d0078212055afd606b6be0e9d61fe6251b92 SHA512 43b87ecc309439b5e772f181877b806158548de76d768b02640176d4cf8508591f0564c3c12c94846231c3f5ad5e859ef701a89e8286c76316a93314434c75fb WHIRLPOOL f782bcc298fc03c5fe032f37f7fa944b651b311c1b2119860260e79de41bd3413c84f74b5e311a10ea9e986d20f2a02455948139b494f9f9e07d59fff8709a00
+EBUILD twisted-core-13.0.0-r3.ebuild 3403 SHA256 85920499d7c23d3b3d148b44caa09d32a3f4cadff83f4f31e155b179b5ee6033 SHA512 f0283a182149c44b6953261820fca7fd4228abd1d806bfac6dc6d64a5cd93846081d481910b71cc74430c33e867a0733324e36c5a7150d4be84f51eeb0d8108c WHIRLPOOL d59f0dc2572766d82c0adc3128a5644118490dc2d7edadcefe834d8995c3f3151a0e5735b22fbe8fdc43c1621509e65b66026d0e804f97059e39ca62e0de47ce
+EBUILD twisted-core-13.2.0.ebuild 3737 SHA256 9ca01fbfa0634f34a91ed90edf65979364faa935d9c991bad239d8f8ab82fc97 SHA512 ab4243295f52e136519c78c6a664f6f0d7c86541eaddd454f033819946729873a3b9a8bb48b6cef4bc54b1ee6218c6e5d711794f9f9bd7f844877af1dc35c062 WHIRLPOOL 30c02a95a126fb25a2fb43693c492c5c53a7cffb241e88c97cf4fc1430e9e2c9f9e51a4b7342ffefb4e082ffbcbbac1704508e58fb37c6541b5713af7820e7b3
+EBUILD twisted-core-14.0.0.ebuild 4243 SHA256 c47d401931dad5e65e3fc599d8b01d8eee8173c9b12c64a23ce4062a89d1f66b SHA512 a5ee99c6f0f24ecce4a22a32cfc5acb59c4c22be2a60fd6daab1b79ab17d933059f9cf38c2be50e0eebd6959bea868d07eb1c28b9a7229269159229d62f5e4ec WHIRLPOOL 9a2f95f73d8aeafb8d2578fbd0a5f74ab3de06ff60536ffaa359afe1b3e2f42d74f3500548af78c4a0231fd845f7a349be35867a124c909f8cba376e041c0d12
+EBUILD twisted-core-14.0.1.ebuild 4396 SHA256 75bd76fec2b460f1dec92ed0102d69df23275eae4445f144140e7968ac5328e9 SHA512 f9e741f5040b336efe5aeef10583146e89cda08bf63db3215b907b9fc0b0a505e6f81acb01eff7af6bc66765b3fe8363b643097ab9cffd7c142781527bbf97d8 WHIRLPOOL 8d13b83065f98bd0c69569a3057340641f90b3d1c241e6b4ec657ed09d1c12fc0b98bab3f8e299c06090e8c516a809adfb871b6fa46c69064c2f6be5256b1e90
+EBUILD twisted-core-14.0.2.ebuild 4396 SHA256 eeb13e24b688865156df60cd924e3ff14862a793995a7bd5387c9405559be553 SHA512 c56707946895ab85462e63e48e8f97bb022c75215356f0db6597ebc79141b81c05cc999b17e0d8910e299b283e7843bd5bf2f3fc913d89aef379fa91bb359dbd WHIRLPOOL 23a4a48abec39869112ba915b3fdb769229c162d8a7710473ac309d57a87319dd78ea0a9a2f7825cf865667ca52ef3e9ff3862f1453ea672d82c2da20b096ef9
+MISC ChangeLog 31199 SHA256 bfd0267e6697a4aeadc7a02c765dba99a1560fc5c4697ffeba70b30a58d2d240 SHA512 01b16a7ec80315ef19a12cae77a96a8d1e9be21ef7a7b201d09cef3e986b3472d4169288068aa6d710006ac5e3f9b61d6887d398e7f62eee1ffcb82b76b22a94 WHIRLPOOL 728aa3c581d06a1ae4e5505c420b3c7337be24e34c79ffb1b6c2f1cd2f595ef80e6779933efaceb59e1a1d5339182471cb5b4d5bce638a91626f78d3a368c2ed
MISC metadata.xml 516 SHA256 702ffca7fc318ecb382067e3bccf620bebd7da614430ea82de24445b9f75524c SHA512 7ade57c91b31b32af447632af4d7d8dfb33ebb21cc507b4dad0e3d51c31a45933d33418326ed65584dfcebced63ba4a365bccd84876321ce78a1b62493ae9e01 WHIRLPOOL 1bfd6c2e9e9bcf8f927dc29a720a0d7d2fe8dfe5b475a57da87cff21f8a5aa51c730941898f3348e85f763504ffd999b1e94413921d39f0d5161e3c23ad43507
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQJ8BAEBCABmBQJUi3jvXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
-ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
-MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOePwQAKX6/ggfLf4hJcA2Hzm0TFQ4
-hXNxyd4qa1srRmwhKnmaqdFQVNJEhP2d45mU+HUvWB/TxXcfhzbEPtAK+qr6Uu5X
-5J3HbmRvSXfMn8Wch3l1MUEzWMnAc9XnwMDenkZ0gWIOdIeXvpa8h9d4+GEEp80s
-exct18sn1YwcaF6llFqdm0e/Rv5FyToICaw7qk92mf4U0u1DvBszkRDpV6gi65mA
-3XNL+w3K+BA6Q+YLVsDjsfwsgByXepLTKr/k5IEMxJv/FROkJqlPU7ibq1xrnzT3
-XxTR2xxNY3YgIGY+4CWxr648Phb1mGcEddK/CR21s0bIOWxdyrhZIMRefp1QlpRL
-2eMWQ+Ditlf+2u9TrXyF+jitBHJZnboyskbZCafFOZv6HjGFXEzdaCSvaeC4qBYQ
-T0+ZQyS5hQ5Q1Ns5WMRT0LlAht+X+SIUmrZduI/aSOhwHHMfJ3DMqHHJXeD3XXPL
-Wa2BbQgci8AlrsgBJ2i6ydK+s5RWJkbzXl27vu4oPoJs/rPx6lhOX43vq6uObRt8
-raJXKuqgwYnS6r27tXvdfj/5erB3pvxSY0GDX9w4/IjUSc0W97a8fc6AVFt9FKJm
-sL5+ixXPBN5QRY/L/xvYM3cxVDAtZuEVjSTpqr4Vyd4TGjMVX1zl2R6w0P5U7RkZ
-I2USnUmF/D/bkZxFLvQy
-=Nj0b
+iF4EAREIAAYFAlSgXP4ACgkQC77qH+pIQ6SoRwD/ePdkAm2jYlJ/KF+VOQo7Gxao
+OaUb6WsarsPyqUFkQpAA/jMhyNURrtQ058quIwrH0gX+6UoxGNw3niitAsym0E6u
+=WtqX
-----END PGP SIGNATURE-----
diff --git a/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild b/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild
index 49dfed8ea452..408a0a443a5b 100644
--- a/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild
+++ b/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild,v 1.2 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-12.3.0-r1.ebuild,v 1.3 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -30,10 +30,6 @@ PATCHES=(
"${FILESDIR}/${PN}-9.0.0-respect_TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE.patch"
)
-# Needed to make the sendmsg extension work
-# (see http://twistedmatrix.com/trac/ticket/5701 )
-PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
-
python_prepare_all() {
if [[ "${EUID}" -eq 0 ]]; then
# Disable tests failing with root permissions.
@@ -47,13 +43,12 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
- if [[ ${EPYTHON} != python3* ]]; then
+ if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile
diff --git a/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild b/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild
index 89c4d0f1ae4c..06c3be3aec10 100644
--- a/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild
+++ b/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild,v 1.11 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-13.0.0-r3.ebuild,v 1.12 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -43,13 +43,12 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
- if [[ ${EPYTHON} != python3* ]]; then
+ if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile
diff --git a/dev-python/twisted-core/twisted-core-13.2.0.ebuild b/dev-python/twisted-core/twisted-core-13.2.0.ebuild
index 0352c11b36cf..bf5589725e79 100644
--- a/dev-python/twisted-core/twisted-core-13.2.0.ebuild
+++ b/dev-python/twisted-core/twisted-core-13.2.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-13.2.0.ebuild,v 1.2 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-13.2.0.ebuild,v 1.3 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -43,13 +43,12 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
- if [[ ${EPYTHON} != python3* ]]; then
+ if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile
diff --git a/dev-python/twisted-core/twisted-core-14.0.0.ebuild b/dev-python/twisted-core/twisted-core-14.0.0.ebuild
index 7c6d86db9fdf..bf2f3cfb87d4 100644
--- a/dev-python/twisted-core/twisted-core-14.0.0.ebuild
+++ b/dev-python/twisted-core/twisted-core-14.0.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild,v 1.8 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.0.ebuild,v 1.9 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_7} )
@@ -43,12 +43,11 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile
diff --git a/dev-python/twisted-core/twisted-core-14.0.1.ebuild b/dev-python/twisted-core/twisted-core-14.0.1.ebuild
index e284f1593c47..6afe15f31109 100644
--- a/dev-python/twisted-core/twisted-core-14.0.1.ebuild
+++ b/dev-python/twisted-core/twisted-core-14.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.1.ebuild,v 1.4 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.1.ebuild,v 1.5 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -44,12 +44,11 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile
diff --git a/dev-python/twisted-core/twisted-core-14.0.2.ebuild b/dev-python/twisted-core/twisted-core-14.0.2.ebuild
index aab052bba121..77a41c78a5b8 100644
--- a/dev-python/twisted-core/twisted-core-14.0.2.ebuild
+++ b/dev-python/twisted-core/twisted-core-14.0.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.2.ebuild,v 1.2 2014/12/12 23:23:23 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/twisted-core/twisted-core-14.0.2.ebuild,v 1.3 2014/12/28 19:41:47 floppym Exp $
EAPI=5
PYTHON_COMPAT=( python2_7 )
@@ -44,12 +44,11 @@ python_prepare_all() {
}
python_compile() {
- local CFLAGS CXXFLAGS
-
if ! python_is_python3; then
# Needed to make the sendmsg extension work
# (see http://twistedmatrix.com/trac/ticket/5701 )
- append-flags -fno-strict-aliasing
+ local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
+ local -x CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
fi
distutils-r1_python_compile