summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-28 18:08:49 +0000
committerJustin Lecher <jlec@gentoo.org>2015-02-28 18:08:49 +0000
commit0fedbf5724fa7bfc48606426466f59ccff844d76 (patch)
tree9fd54c57e059407a7955115cfd12bc573afbeb22 /dev-python
parentRequire newer version of libcec #541058 by Christian Affolter. (diff)
downloadhistorical-0fedbf5724fa7bfc48606426466f59ccff844d76.tar.gz
historical-0fedbf5724fa7bfc48606426466f59ccff844d76.tar.bz2
historical-0fedbf5724fa7bfc48606426466f59ccff844d76.zip
Version BUmp and drop old for CVE-2015-{0219,0220,0221,0222}, #536586; add correct dependencies for tests, Use optfeature instead of harddepened on imaging, #473228
Package-Manager: portage-2.2.17/cvs/Linux x86_64 Manifest-Sign-Key: 0xB9D4F231BD1558AB!
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/django/ChangeLog14
-rw-r--r--dev-python/django/Manifest46
-rw-r--r--dev-python/django/django-1.4.19.ebuild105
-rw-r--r--dev-python/django/django-1.6.10.ebuild (renamed from dev-python/django/django-1.7.4.ebuild)75
-rw-r--r--dev-python/django/django-1.7.5.ebuild35
-rw-r--r--dev-python/django/django-1.7.ebuild100
-rw-r--r--dev-python/django/django-9999.ebuild94
-rw-r--r--dev-python/django/files/django-1.4.19-bashcomp.patch37
-rw-r--r--dev-python/django/files/django-1.4.19-test.patch14
-rw-r--r--dev-python/django/files/django-1.6.10-bashcomp.patch35
-rw-r--r--dev-python/django/files/django-1.6.10-test.patch81
11 files changed, 431 insertions, 205 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog
index 5410929059ca..ef5d74c57402 100644
--- a/dev-python/django/ChangeLog
+++ b/dev-python/django/ChangeLog
@@ -1,6 +1,18 @@
# ChangeLog for dev-python/django
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.151 2015/02/28 12:59:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.152 2015/02/28 18:08:42 jlec Exp $
+
+*django-1.4.19 (28 Feb 2015)
+*django-1.6.10 (28 Feb 2015)
+
+ 28 Feb 2015; Justin Lecher <jlec@gentoo.org> +django-1.4.19.ebuild,
+ +django-1.6.10.ebuild, +files/django-1.4.19-bashcomp.patch,
+ +files/django-1.4.19-test.patch, +files/django-1.6.10-bashcomp.patch,
+ +files/django-1.6.10-test.patch, -django-1.7.4.ebuild, -django-1.7.ebuild,
+ django-1.7.5.ebuild, django-9999.ebuild:
+ Version BUmp and drop old for CVE-2015-{0219,0220,0221,0222}, #536586; add
+ correct dependencies for tests, Use optfeature instead of harddepened on
+ imaging, #473228
*django-1.7.5 (28 Feb 2015)
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest
index a98d7c9e11fd..2f8d5b56e7d0 100644
--- a/dev-python/django/Manifest
+++ b/dev-python/django/Manifest
@@ -1,42 +1,46 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
+AUX django-1.4.19-bashcomp.patch 1124 SHA256 08fa240a2991b7b89926ed14dc9a50992a5ca0e1b44f932d27d8ec7c68db4f2b SHA512 b1c2382f202dcf290cb8996ea174a1539783478fbf2feab18433f0cedc6c9dd0e088b3241131dc0fb1a5c621a45003ccb62146591ccac42218dbe38cf56f53d4 WHIRLPOOL a6805c97326853bf30f5c00906d13222532744cf07a182efc7bd0fecfb13a0076156517c1c31e88c4d44482a0db36ae3d666ac880fb4cdbdd78bfe93f1a84474
+AUX django-1.4.19-test.patch 469 SHA256 e0631931a8aa42434963944976a5c8505a259f7aa5884be1842100ca32f8be15 SHA512 3a7f8dd24a0cbfeab6e9c04e5079538c2058e677f46bad05324cdfd2fb644585e917d92389e8dabce410c3e8e97a390ede04c217d9eca32440b942bf32c91706 WHIRLPOOL e007c8379e7c64308ab40847bf92bba275cd6644f3e1d9fabefafe710536b9082a3c30961d2619fcb36be75b3a5daa8133537aaeaf41fe180d76337aac650b32
AUX django-1.5-objects.patch 1470 SHA256 6b0ce991c1b9c97d642faf9f5aa554796c2fdec52cc0f78b6447626a4f9f6816 SHA512 c82592ba39b121111c86d8713a24e6120a27991e057f9c034722e2054ff51a09e4cdce997a9059245a602c9343ab8b8930e14cb36cfd088da2b5e44e11d13cc4 WHIRLPOOL 84bd83ae54f8cd62dec2973e064511814205789fd8031fb6ad142bf0e865f4af32e34dfcb1bf82476a2e0e58df75ed6424d646fc618c353dedf8015f0c2bdb70
AUX django-1.5-py3tests.patch 959 SHA256 62fbb00c8d919306b48c8fcc82c7fa5e8aa38589f5271c526757da0ff2acbaa7 SHA512 cc746d43c2cc1c7f88fbffbf07ffc1f3b3fdcb738547658623c763e302c69372f8c8c014ac2a7196382d21aee0ba2ede92860a59a76ad3e14541015969935a92 WHIRLPOOL 4da24b4006ff233fea8041127a2842485d7d178d5abba2b429f537a66feb21384a59678188451089429af355118f06fc7083cbdd61d12905f9dfdb4e831d668b
AUX django-1.5.4-objects.patch 1467 SHA256 237d0ee4e9f2af1d98b0b230977a41d061cbdbefc153193bc1539c4ad82622ee SHA512 09bdaab452f692679a15d0fbadf3c044417aeda0ce65b30bd2994d86b33ae93c13eb159fdad373a031ab2e0563861e29d1f9935b52c33af34a6afd25461e904d WHIRLPOOL d8a18947bd826c28836ce5180a6f9de758722fcc45ba11ca6a887c65711e7fa23827dcab734b6bfe51c330dd05a2d67a5d82e6e2d85130cdb05fcb4ca0622f26
AUX django-1.6-objects.patch 729 SHA256 ea217c069a28b19063fcf216433cab48bd693fa51db0585881905532575a0875 SHA512 e7dc3cc8e50b4b0d546983dd79f1fa2bf7680d04d1e401267334ce72ee065e0fac2b00f9287ccafc3fabca29bca4c1d6475021b5da19d145a2d90fd491bb7ae7 WHIRLPOOL 00b4f579809206c78ce1648059c56a3af146c883c1b36f4febede15b4d3075a3686b30a6feac8d03c1df5e45994da5a2fdece6bdb71afb8d16bb72e139d67931
+AUX django-1.6.10-bashcomp.patch 1090 SHA256 1bf3b71b231a0ed772fc47c21d41e97f72c0ba6e5a7108a851087be4bc35e7e4 SHA512 43e6a0a23d713dfb2b002ee89f68fc8cfe5f18bbfb84e9addd37ca0aa25aaa704238833c9be781da0b71fe708fbe2831ef61952638874fd3b6d10298d9076118 WHIRLPOOL d1ff83d8919b957df1491ef17d27f828ceb708cef07d483c7549fbf2106dcfb3f66178ab2a7a248bddc70814a130ca5e583e86f2f7e477f93547f1796d984548
+AUX django-1.6.10-test.patch 3955 SHA256 c27cf60632d0ea76b5e595d20ea6d8b6030c65b4461e9594b21e9e071cef23d8 SHA512 22e46dc5e48dacac609b3fa5161362691cafe2344393188983df08fd1e8f6b01ab02f3db35f3426b20621e0ea270da8a29a1fbbc2daf514b950062e7e9e36a2b WHIRLPOOL bd2add0207b9d783aaf1fc2629d0e963e0ddcd498acfbfa67565e067c8f32d6b591e5c6d660fd1d4fa984e43e260ad6d458eb2ec7d8c9d9fbb0f487c8d0a7f1f
AUX django-1.7.5-bashcomp.patch 1090 SHA256 7097b55ef456d7bd228fc08ba7430b37b966170baafab521edcca5a1d2725556 SHA512 e7df516ea276eef06c79db2ec3694bbbbbe6724669281bc97311c9386f943f55bf65c4d41d07a4ecf2dc8abf11fddd0d07fc5a08f357365c67274c74280fc532 WHIRLPOOL 8a03ba9fd619acf6d1b041e84b26df436b594e952acea5c3cde7b62e83cbdc03ab75b28189b1bb49cba508e664976529d6e4403ceb475d0b36ecd70d948bc6b5
DIST Django-1.4.15.tar.gz 7754429 SHA256 aa57ceb345091c25648b41c98a6f46fffd7884695fa884c7039291177ded14e9 SHA512 6552173269b5c86b3ee20e31d70bd1e0b5c8dc21ee82af0ce3b75f374d2a9adbe3ec28cf39c44156782ae9a0cc64aeac80a938f6d3efbf29d4affe3f0354348c WHIRLPOOL cb19b9e1e17ec60e5db06a40b78681a43714b40e2caad6d87cc3f150d123826552a289d96a35c72b9596fec1279714d26b2f9950a7d75ecb72c3f068134564c6
+DIST Django-1.4.19.tar.gz 7877522 SHA256 d75d605e574305e1c2864c392e1454963ead4552477ce14e67e64b9ef9faa1a6 SHA512 811267ec1ad99a8eaf4daa098cd5140970718f5814ed1e7e9ab706ff049c508a788cf186aafe208947e6350e17baef4a205f549bba744ef53c7e365a101a9391 WHIRLPOOL 67b24ddd89a31294cb260923b58e31dadfd6b4fe654a625586bc9341ba95f9bb2960befdd58dfae91128149fba1b95c3dcef9f72510e3e904cb03de8b685d63c
DIST Django-1.5.10.tar.gz 8074324 SHA256 7cb4217e740f7d5d6d74617dbb9d960f9c09e8269c6762fe68c6e762219f4018 SHA512 5357116870370f7fd06f77e5bfad98f89c6bb131eb2828ded524422d0690d8842c3106e4e92614c374ab2549d205e77c98e4071894f0625dfe69a382171b1834 WHIRLPOOL e603767d6912e9bffd65161750baa626c315362c8c438a2c6fb25a47ecdc867bace998752a9acb6b8db1833f30e8bd7b9aa8fc87f823b906b394d4ab455aa265
+DIST Django-1.6.10.tar.gz 6760152 SHA256 54eb59ce785401c7d1fdeed245efce597e90f811d6a20f6b5c6931c0049d63a6 SHA512 4ef44f2f4d0537443125765ab0e13b0d4798f828b09e7f881f2841d8e7078e4a8f0ac4750ebbd4586190feacd13490d4657575411737d2dc1e3c2cf046c2dadf WHIRLPOOL 8cbcfd690aa813b72da2f8480fcf66de87179a92a802450d354c1c383a7df415b3346d1a8a913a717b39db6edb67bcafd0fa0f45da55a2284e3e23c4fe45803f
DIST Django-1.6.7.tar.gz 6647301 SHA256 9a64211c96a3262bb2545acc82af5d8f3da0175299f7c7e901e4ed455be965fb SHA512 7806562853c1c2db1decc597ec62f1e91689a6a3668030ed8dc0a757e5bf1603f4be945cef277ce564d26665a39d5c4151060b7889822e66671345d973dd256d WHIRLPOOL 6cbac5dbea4a37e88beeec3402ce264fdc889fcc6ec319fdc7436b45a538ad9a4ccb4fc01bf4c122407700e7cf6f8223bd40aa94af16bfa801dc93aa46576484
-DIST Django-1.7.4.tar.gz 7592584 SHA256 f33255afbb9ee0977d9095ab0b50fde1f8ddff4220b57e8d19c6620b3e316170 SHA512 ae4ce59987926622ced6a18b4f3d0689ec505eb38ba434dc1812d7261eb6bceaaa9d8ee6b12a871c1fab7c14f7618be283fce83d09856656aea388b634a10f77 WHIRLPOOL 583454f5662cdbb63556fca1c1939b66c8946587b47d4adc734c6814cd22b55734160baafda5cfbc0d7735f17d1bbb12d3a5e8cbe94cf84a43b2396829f54ee1
DIST Django-1.7.5.tar.gz 7599017 SHA256 1c391f9349c97df503dac3461599f24235e4d04393498e6060e74dd2721460bc SHA512 b54c8afaf1a07475fc4952c9af94fa77cb9d18fcdbc98c3d61406201fdcff3fc997d831b26914fbd1db05cdeeafeda67de7476c1bf4ec125c6f00aa69a127f77 WHIRLPOOL b3e957dc0bc852a0983d3aa01e82183de4dc7eda68dc1e893d4fee8df4f04e39979fd6285ac615d9e8ec8d2fe4d75e120b9dd06ae1e77cd5d61ab795f67db1a6
-DIST Django-1.7.tar.gz 7486550 SHA256 33f781f17f145f79ee8e0b8d753498e0e0188f0b53b2accad4045d623422d5e1 SHA512 9eb96812b913372f2e95e70fb498109d42d74a7df2a8b26083c5b372b421d897ef4119f45bfeb1cf2ef224448e9e0cfb801842441454b9b16c524e94d80d509a WHIRLPOOL a462e153501e572ef00c4319165b953ab3658d2bf1250eae05b75b8ff3ade0621b1a58943ac1fee4441c239cb3384e2ee73764c8255090a7a419675d09c19260
EBUILD django-1.4.15.ebuild 2557 SHA256 7248e0267a58f4b5a35fe2d7d4b164750921f0bccc2260bc572c23dc0a8894c2 SHA512 58380a2443d8966ff78616ff4a90645cca4cf0e1cf672077b928542931b96230caa85dbf395ae4e0af80aa962383167885a9cb1779d3cab96ccc1d3e5998742a WHIRLPOOL 8792466779f3e249ae584d32bb54f42dc990558b26b288129024b6e66e5b06c23cbed04d922c06e73b7067f6ee8fcbbe86e8ebc82dc0976811f32bef984c4640
+EBUILD django-1.4.19.ebuild 3222 SHA256 31ebe84e8972a0283a9b5f23235efaf2cfdcf398e616425b367008db43404b1e SHA512 a57046bc80df0889a047d2376d246c0c515de654721c4b259dea17cc6a0415ed26dbfa14bba9efb01b5a87d050fd13b41d8d9d0ccbc810e3855ca42c17991a7f WHIRLPOOL 6c3ef41eda49068a21eef105013d90271f2703e771b6d48606565bbe04fa33de25cfadbec0cdfd2dbf3a3ad00359381d30b5744322a367a6826279a039cb0f55
EBUILD django-1.5.10.ebuild 2570 SHA256 4516728575bf4f4386d18ff8b7b3dfc528988a2613314ed652cbaefaac85ee87 SHA512 81c02f0e126ba9c193bce65e06b51a903f927f1b313b34b789b48e6f70ee09bfee38821fe607597e240726fc5d5a9e47a50dd6d2c60ccdd2d22aef5c9da8207d WHIRLPOOL 9cd10f6cf0686cacbc1f74c22a3bbdd66aecb7db7484f392e2b643e322bfac65b34af4fbb631734ba8f62efdf5cb52f8841a56188f072fc3f808cfe5e2430c86
+EBUILD django-1.6.10.ebuild 3070 SHA256 272b82ecc42441f702bbf9eba0542c59529e4d05b515b81ed786db9d6719199d SHA512 458f56ff553d389b260aa7812ca02ba3116dcf7ab269eebb76f7d625ad4758d4723570188db82e43e5209e387ee21ddf511c898383834fd299fc1905b5172267 WHIRLPOOL ba4eb97ee134a948c6fcc7584d7ba40a03ba71711b71670b32e64ed2abdadc9c653fc9d16b4151f9323e7463482596f4d3055a3d3de24f5ce8593ff01fa3714b
EBUILD django-1.6.7.ebuild 2686 SHA256 2d4cbba335e51b7ae41580ffee14246d402684b376dd40bad70a70d7386a377a SHA512 49c124e8abcfb9e3e921f88dc7924968469939eb85581a12aaa628108d15375c79970a75f0aa936212fe6e8f4d6edd42f6044f51cd597284eb41311942d6e1c0 WHIRLPOOL 608ec69095c1e771c8a26089ae8a7584b3506a2231a620dc0f38ace5e097e31ec22bf99c0ac7ab5fa6cc632bee4cba45cb459364f81b97eaadecbc71bc0191df
-EBUILD django-1.7.4.ebuild 2990 SHA256 377fc921d466b948840529e986a7f4545da413081284963dcb97caa7298f5789 SHA512 f34cb566109b6e8a95cfd1a6cb353b0ebea132bd64c0893db87fbb09b11c45ec5de2344cf6d4e2d5beec0eebaccb226b0978970f11560bc0830e334db4d60b2e WHIRLPOOL dd51d873574880ee919ff827d92f5e2dd42d36f5bce30dc36003449bbfa44adf96b8e04d05ac3788c7819ab86c70effb9f5f24bf6f6fcaba5e27a289b7bb9bb6
-EBUILD django-1.7.5.ebuild 2550 SHA256 63f3662d616aa4fe19883390fa2b2186cb556bf925892d033975710864ef8f5f SHA512 0b149a033e6b9540d6911df62a99f5da698081fdf8cc12283055159a6b40d4374b7a5bceb0ab7181f83ea131592790d32f5206c1b64a876b45d63b528861004f WHIRLPOOL 67b7d35162200f0032dff62830503701be202b30185e4e147c4e10d9230d62d704550d6b94e60e06eeb11f4900dad27700f88003a8eb18c840b1985517054039
-EBUILD django-1.7.ebuild 2988 SHA256 c0159d87d9b22bfa26c00bbe6ffaa5e964835eeef6c5f74559c769d38ac77df7 SHA512 7228d335886157e9089497ebddbbcbdbafc480b9240ba8ad1f997e640d077baeb5708f336026fee996d6010baa4669200d63b1edcfff063825bfa8693dee9ffd WHIRLPOOL 33351542a145be1f50f4f0fdc2ae3525ae66a934bad0151334a7ec50911d562cf55cb14182c6aa3597b45b1ca9bde5069a0157c4c36f7f31d15a8dc3e371645b
-EBUILD django-9999.ebuild 2378 SHA256 53f3f83d91d9fba975d5ee353a91b9ecadb874b2da551b234baeed7747bfae20 SHA512 521cac5140c8ddd2529c9a103ded73427e83a1107804639090cbfb186a7a691aa49c02587fa06081218960f9e34c6b971e4dc2805d160e6c2b775c3c7498afc1 WHIRLPOOL 892b0145749a5446b4b75ee41045795ddd63459d5c0024657d7477c02c8f3c32fafdab8a5e586e623f26c9554fb98a69525ba00e5c43a5e0cdfd6149fa348f86
-MISC ChangeLog 23762 SHA256 05a0c971d6a1d7f9384e65912517ab8b90f533f5339211c81a3b90eaaa68bea2 SHA512 e697ccf9bf9be76af902556f0b085e82c57ba655702e6bdafd52dff8a8473b2846ae0984148b6de4ef19e513618d63f7196185bffe9f4eea2fe72166391b6066 WHIRLPOOL a0687f900ffae1b2c4abf7d5052f2967b839f1df8b543f1866e41ac3bbb0ead26a9b2c5b05e657d98e4bfe7cd368609367bdee662dbb93aa45471a461a3c6e93
+EBUILD django-1.7.5.ebuild 3027 SHA256 37f05ef30e6c6a651759ef3ca9862aa69f94a8fb58d7c446104d5261195cf431 SHA512 fdda47750057ab1ec355528c4aa7e0ec4bb42091c8b047f095cc78e4ff81b197aa58bf2b143c1c780a9fa5e93b42d59b8499524584192fc15f5fd7fc14234d12 WHIRLPOOL 604d093436395f5ff0db38e127c0538749febd06ccf77b64a1a8b444b1ae28060ba01fb30f38ed18de1d7f161abefa4c7cd5d9218d98627547a64bb74be9483f
+EBUILD django-9999.ebuild 2952 SHA256 3af5db49da1d0eb1d06b6813f0d6012a8ca840d3cb5ddfc1787ff843ac6f8bc9 SHA512 4a32d259578ae1e7a113ad898187e43d577528210bb7d8eb3224c844466d3df631e656110a2de374cdc6366ea447e0977cefa331c161306bda8a855ee878f0e6 WHIRLPOOL 16f2ee8ec70f5e6c91cc2dcd5f364a59ee321fe1c5ccedcfdd01ecc4e1911ed7e7517093c4aa86e18b7d6628ae6e6ae4653fcfcf06f331cf94a965cbcc745ec2
+MISC ChangeLog 24317 SHA256 ba6cc054d3d4654efa92316e27d28c1580985f82a51258da9f615aa92db84cef SHA512 04afc61ae7a3d953aba81cb0e99314c2a970c705181e3664aec50d31299339d9cd855a8a57f17e18ad72d427498525d9d598a300844d511799b0dda7dc852697 WHIRLPOOL c0df65480c0e43b4799bc86db5fe104347121a435da22d7b9f6503828a3b9bbf88c7f99061239de37aeb4b0c887ee5f0e9c07c2055d65e35b704036a43e11c60
MISC metadata.xml 161 SHA256 54c4e6d783f2571466c7b03622195c255b95cf06209e59ab6653a6366cdfde6e SHA512 b306d222517e4eae525f6a79634f26eff2068f85911b7904c52c485a004d1d5401300808da67f9a1e3f102d65aebd1e0d21cd18145ea0bfec156f2aa3785b104 WHIRLPOOL f9c8e8d23bde25f4b14031f83dcc09e8437fdbcbb27199c1e9d8109fb2ccc7589cabf8240256dbbe6e080d04d2c444d115c66f82fc9b479e1e70d1ef0fe60fe2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0
-iQJ8BAEBCgBmBQJU8bu3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+iQJ8BAEBCgBmBQJU8gQwXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQyQ0JDQjFGMzBDQ0UxMjFGNENDNDgxMDdC
-OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirPpwP/iXpAWq7Qtjk8E4NvRycP2ab
-PnKDPUK0qW9agNIL3hIyaLxJK+kg4wusFHD9xTK4YYWSfDFxDxTNemIER3IWeepA
-9sFiqtaREb3ASdH56JbznovXu13nGnk8Cssv00fngaWLofRJyVFD8052LNfBxsCA
-9QHCv+BZtM8kebxT/lhVnsucEiXJsSe3hVI95QK5kKLNWWTJ0N/36hnDbbaA4qdw
-utHSv8j7vVrsMpvzD6Qosc0u1Ny7G80YTbCTGePiNaDjz9t5iztop19S450sDeX4
-N2n5xq7oC2eBarRjiBwnwC7VBmLKihAno3YOc/Ux1DbOOh4QxMwSLprBks3IAzmw
-wRPJ+ChXio1jSqyIGqCuCVtyJDKO/ryO6vfq5JniVcXCtZf3lefd11rEDEawOZW+
-+JFlhPvQ/HFaaPtZZ5v9UkLBdss3fQwL4eHl9QTiNn8vJM2sHmbpUue/NSyOSOim
-C+yEykOssWqRtyVYetpSALpUPG3BchhuHr9n42W0Ml67YHKuF37EFkQF/KLnMLQY
-T/2kiYhINhP680ZEvZI2maytWkvXTYctfYv/qTe37sRz3Yi/05hUAHDp3pDsdMbg
-nGpJvYhFTrhg3zQ9wGX3P3BFaG8nAANmaIU2N3qwEJP4aYAK00T9CsZtUDeZWsT4
-XOfd2RFfpwL1YRAEaISh
-=4X7v
+OUQ0RjIzMUJEMTU1OEFCAAoJELnU8jG9FVirRjEP/39DVv4EPGnOQIU4uHWzY6pL
+Srn1QSpKqyfGGdcpuje13xnsJmFHwBk8NXdZ1klgPGdJNnByXZmqpQ6RZqV75lEb
+sgZ2/yeDZUVTb4m0hCl4gsT9RxUabuAHhQSRlQXMyIJ8ebuIM7tv0H76oKnjObqT
+zhp56NnaoyLtsOHV2BwwQqX4l8Qp61UFVUzBGZ/7FswvTLIwlIPXCEHYqi9/cymh
+pA/6xSy6TR7WlPIpyGFFFM5sZVMAKs6mfP3sAnbGoiAIKg3AdWc4HMvMLXSLy6IO
+06TyeyjtDi19BTipDqt66x83GVM0xa2C2ydiNV9AfcepX7v091Utkk0jvdvpx0gK
+gXhBponiGj2NBVPKk1TILcu0cXirwbUOvJPLkOQvdLsuSz82oxQQPaVliqpyrX7G
+/k3hRbR0cCNhH2ktuzBLPGgHhpkpV+i5cOvF/NZnyiGvBEBezbyqJNyx0M2j2lfx
+2EDEsjRsnmAvOR8ckL9pSUSdIVOcjElrpFuHmmKxLFpn7WdyKM0RxCLwS1uK2lz8
+Aq1KP45XaTRCBE22M15AfrXNkCAkbOnp1Ut/kchVLhjzX1AeKx3djCzUFQo8+a8k
+HHkJjHBxYl/Zpfdv/83abnzUdf9kga7pehDtdAjcaIOEbfiVwIP21ot3jLJMIiw5
+d89al9C2ZT/SwYgtB/OR
+=+LWY
-----END PGP SIGNATURE-----
diff --git a/dev-python/django/django-1.4.19.ebuild b/dev-python/django/django-1.4.19.ebuild
new file mode 100644
index 000000000000..158dcf781b8f
--- /dev/null
+++ b/dev-python/django/django-1.4.19.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.4.19.ebuild,v 1.1 2015/02/28 18:08:42 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE='sqlite?'
+
+inherit bash-completion-r1 distutils-r1 eutils versionator webapp
+
+MY_P="Django-${PV}"
+
+DESCRIPTION="High-level Python web framework"
+HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
+SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="sqlite test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ ${PYTHON_DEPS//sqlite?/sqlite}
+ dev-python/docutils[${PYTHON_USEDEP}]
+ <dev-python/numpy-1.9[$(python_gen_usedep 'python*')]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ )"
+
+# app-text/pytextile[${PYTHON_USEDEP}]
+# dev-python/markdown[${PYTHON_USEDEP}]
+# dev-python/selenium[${PYTHON_USEDEP}]
+# dev-python/py-bcrypt[${PYTHON_USEDEP}]
+
+S="${WORKDIR}/${MY_P}"
+
+WEBAPP_MANUAL_SLOT="yes"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-bashcomp.patch
+ "${FILESDIR}"/${P}-test.patch
+)
+
+python_prepare_all() {
+ # Disable tests requiring network connection.
+ sed \
+ -e "s/test_correct_url_value_passes/_&/" \
+ -e "s/test_correct_url_with_redirect/_&/" \
+ -i tests/modeltests/validation/tests.py || die
+ sed \
+ -e "s/test_urlfield_3/_&/" \
+ -e "s/test_urlfield_4/_&/" \
+ -e "s/test_urlfield_10/_&/" \
+ -i tests/regressiontests/forms/tests/fields.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ # Tests have non-standard assumptions about PYTHONPATH,
+ # and don't work with ${BUILD_DIR}/lib.
+ PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
+ || die "Tests fail with ${EPYTHON}"
+}
+
+src_install() {
+ distutils-r1_src_install
+ webapp_src_install
+
+ elog "Additional Backend support can be enabled via"
+ optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
+ optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysql-connector-python
+ optfeature "PostgreSQL backend support" dev-python/psycopg:2
+ optfeature "Memcached support" python-memcached
+ optfeature "ImageField Support" virtual/python-imaging
+ echo ""
+}
+
+python_install_all() {
+ newbashcomp extras/django_bash_completion ${PN}-admin
+ bashcomp_alias ${PN}-admin django-admin.py
+
+ insinto "${MY_HTDOCSDIR#${EPREFIX}}"
+ doins -r django/contrib/admin/static/admin/.
+ distutils-r1_python_install_all
+}
+
+pkg_postinst() {
+ elog "A copy of the admin media is available to"
+ elog "webapp-config for installation in a webroot,"
+ elog "as well as the traditional location in python's"
+ elog "site-packages dir for easy development"
+ elog
+ ewarn "If you build Django ${PV} without USE=\"vhosts\""
+
+ # XXX: call webapp_pkg_postinst? the old ebuild didn't do that...
+ ewarn "webapp-config will automatically install the"
+ ewarn "admin media into the localhost webroot."
+}
diff --git a/dev-python/django/django-1.7.4.ebuild b/dev-python/django/django-1.6.10.ebuild
index 8bd963842edb..e8ea690e0e38 100644
--- a/dev-python/django/django-1.7.4.ebuild
+++ b/dev-python/django/django-1.6.10.ebuild
@@ -1,13 +1,15 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.7.4.ebuild,v 1.1 2015/02/06 03:41:28 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.6.10.ebuild,v 1.1 2015/02/28 18:08:42 jlec Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
+PYTHON_COMPAT=( python2_7 )
PYTHON_REQ_USE='sqlite?'
WEBAPP_NO_AUTO_INSTALL="yes"
-inherit bash-completion-r1 distutils-r1 readme.gentoo versionator webapp
+inherit bash-completion-r1 distutils-r1 eutils versionator webapp
MY_P="Django-${PV}"
@@ -20,70 +22,75 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
-RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
- test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
+ test? (
+ ${PYTHON_DEPS//sqlite?/sqlite}
+ dev-python/docutils[${PYTHON_USEDEP}]
+ <dev-python/numpy-1.9[$(python_gen_usedep 'python*')]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ )"
+
+# dev-python/bcrypt[${PYTHON_USEDEP}]
+# dev-python/selenium[${PYTHON_USEDEP}]
S="${WORKDIR}/${MY_P}"
WEBAPP_MANUAL_SLOT="yes"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.5-py3tests.patch
+ "${FILESDIR}"/${PN}-1.6-objects.patch
+ "${FILESDIR}"/${P}-bashcomp.patch
+ "${FILESDIR}"/${P}-test.patch
+)
+
pkg_setup() {
webapp_pkg_setup
}
python_prepare_all() {
- # https://github.com/django/django/commit/d0c6016367c11d4d4cc42ace340f951f5b75738e
- # Courtesy of Arfrever
- sed -e "106a\\ with change_cwd(\"..\"):" \
- -e "107,117s/^/ /" \
- -i tests/test_runner/test_discover_runner.py
-
- # Prevent d'loading in the doc build
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
+ # Disable tests requiring network connection.
+ sed \
+ -e "s:test_sensitive_cookie_not_cached:_&:g" \
+ -i tests/cache/tests.py || die
distutils-r1_python_prepare_all
}
-
python_compile_all() {
- if use doc; then
- emake -C docs html
- fi
+ use doc && emake -C docs html
}
python_test() {
# Tests have non-standard assumptions about PYTHONPATH,
# and don't work with ${BUILD_DIR}/lib.
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
+ PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|| die "Tests fail with ${EPYTHON}"
}
-src_test() {
- # Port conflict in django.test.testcases.LiveServerTestCase.
- # Several other races with temp files.
- DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
-}
-
src_install() {
distutils-r1_src_install
webapp_src_install
- DOC_CONTENTS="Optional support for mysql as a backend to sql is available in the form of
- dev-python/mysql-python for support of python 2.7 support, or dev-python/mysql-connector-python
- for support of python 2.7, 3.3 & 3.4. Support of postgresql as a backend can be enabled via
- emerging dev-python/psycopg:2 in cpythons 2.7 3.3 & 3.4 but not in pypy.
- Just emerge the package to suit the needs."
-
- readme.gentoo_create_doc
+ elog "Additional Backend support can be enabled via"
+ optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
+ optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysql-connector-python
+ optfeature "PostgreSQL backend support" dev-python/psycopg:2
+ optfeature "Memcached support" python-memcached
+ optfeature "ImageField Support" virtual/python-imaging
+ echo ""
}
python_install_all() {
- newbashcomp extras/django_bash_completion ${PN}
+ newbashcomp extras/django_bash_completion ${PN}-admin
+ bashcomp_alias ${PN}-admin django-admin.py
if use doc; then
- rm -fr docs/_build/html/_sources
+ rm -fr docs/_build/html/_sources || die
local HTML_DOCS=( docs/_build/html/. )
fi
diff --git a/dev-python/django/django-1.7.5.ebuild b/dev-python/django/django-1.7.5.ebuild
index a32aacc520a9..287cf5220a3a 100644
--- a/dev-python/django/django-1.7.5.ebuild
+++ b/dev-python/django/django-1.7.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.7.5.ebuild,v 1.1 2015/02/28 12:59:28 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.7.5.ebuild,v 1.2 2015/02/28 18:08:42 jlec Exp $
EAPI=5
@@ -21,13 +21,23 @@ SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="doc sqlite test"
-RDEPEND="
- dev-python/setuptools[${PYTHON_USEDEP}]
- virtual/python-imaging[${PYTHON_USEDEP}]
-"
+RDEPEND=""
DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
- test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
+ test? (
+ ${PYTHON_DEPS//sqlite?/sqlite}
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/numpy[$(python_gen_usedep 'python*')]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ )"
+
+# dev-python/python-sqlparse[${PYTHON_USEDEP}]
+# dev-python/bcrypt[${PYTHON_USEDEP}]
+# dev-python/selenium[${PYTHON_USEDEP}]
+# sci-libs/gdal[geos,${PYTHON_USEDEP}]
S="${WORKDIR}/${MY_P}"
@@ -49,15 +59,13 @@ python_prepare_all() {
}
python_compile_all() {
- if use doc; then
- emake -C docs html
- fi
+ use doc && emake -C docs html
}
python_test() {
# Tests have non-standard assumptions about PYTHONPATH,
# and don't work with ${BUILD_DIR}/lib.
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
+ PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|| die "Tests fail with ${EPYTHON}"
}
@@ -67,8 +75,11 @@ src_install() {
elog "Additional Backend support can be enabled via"
optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
- optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysql-connector-python
+ optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlcient
optfeature "PostgreSQL backend support" dev-python/psycopg:2
+ optfeature "GEO Django" sci-libs/gdal[geos]
+ optfeature "Memcached support" dev-python/python-memcached
+ optfeature "ImageField Support" virtual/python-imaging
echo ""
}
@@ -77,7 +88,7 @@ python_install_all() {
bashcomp_alias ${PN}-admin django-admin.py
if use doc; then
- rm -fr docs/_build/html/_sources
+ rm -fr docs/_build/html/_sources || die
local HTML_DOCS=( docs/_build/html/. )
fi
diff --git a/dev-python/django/django-1.7.ebuild b/dev-python/django/django-1.7.ebuild
deleted file mode 100644
index efc15d35ece2..000000000000
--- a/dev-python/django/django-1.7.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.7.ebuild,v 1.4 2014/12/22 03:44:07 idella4 Exp $
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
-PYTHON_REQ_USE='sqlite?'
-WEBAPP_NO_AUTO_INSTALL="yes"
-
-inherit bash-completion-r1 distutils-r1 readme.gentoo versionator webapp
-
-MY_P="Django-${PV}"
-
-DESCRIPTION="High-level Python web framework"
-HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
-SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
-IUSE="doc sqlite test"
-
-RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
- dev-python/setuptools[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
- doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
- test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
-
-S="${WORKDIR}/${MY_P}"
-
-WEBAPP_MANUAL_SLOT="yes"
-
-pkg_setup() {
- webapp_pkg_setup
-}
-
-python_prepare_all() {
- # https://github.com/django/django/commit/d0c6016367c11d4d4cc42ace340f951f5b75738e
- # Courtesy of Arfrever
- sed -e "106a\\ with change_cwd(\"..\"):" \
- -e "107,117s/^/ /" \
- -i tests/test_runner/test_discover_runner.py
-
- # Prevent d'loading in the doc build
- sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
-
- distutils-r1_python_prepare_all
-}
-
-python_compile_all() {
- if use doc; then
- emake -C docs html
- fi
-}
-
-python_test() {
- # Tests have non-standard assumptions about PYTHONPATH,
- # and don't work with ${BUILD_DIR}/lib.
- PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
- || die "Tests fail with ${EPYTHON}"
-}
-
-src_test() {
- # Port conflict in django.test.testcases.LiveServerTestCase.
- # Several other races with temp files.
- DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
-}
-
-src_install() {
- distutils-r1_src_install
- webapp_src_install
-
- DOC_CONTENTS="Optional support for mysql as a backend to sql is available in the form of
- dev-python/mysql-python for support of python 2.7 support, or dev-python/mysql-connector-python
- for support of python 2.7, 3.3 & 3.4. Support of postgresql as a backend can be enabled via
- emerging dev-python/psycopg:2 in cpythons 2.7 3.3 & 3.4 but not in pypy.
- Just emerge the package to suit the needs."
-
- readme.gentoo_create_doc
-}
-
-python_install_all() {
- newbashcomp extras/django_bash_completion ${PN}
-
- if use doc; then
- rm -fr docs/_build/html/_sources
- local HTML_DOCS=( docs/_build/html/. )
- fi
-
- insinto "${MY_HTDOCSDIR#${EPREFIX}}"
- doins -r django/contrib/admin/static/admin/.
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- elog "A copy of the admin media is available to webapp-config for installation in a"
- elog "webroot, as well as the traditional location in python's site-packages dir"
- elog "for easy development."
- webapp_pkg_postinst
-}
diff --git a/dev-python/django/django-9999.ebuild b/dev-python/django/django-9999.ebuild
index 144acbe2f042..de6c7f71f6c6 100644
--- a/dev-python/django/django-9999.ebuild
+++ b/dev-python/django/django-9999.ebuild
@@ -1,48 +1,65 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v 1.23 2014/09/09 05:27:31 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v 1.24 2015/02/28 18:08:42 jlec Exp $
EAPI=5
-PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} )
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
PYTHON_REQ_USE='sqlite?'
WEBAPP_NO_AUTO_INSTALL="yes"
-#if LIVE
-inherit git-2
-EGIT_REPO_URI="git://github.com/django/django.git
- https://github.com/django/django.git"
-#endif
-
-inherit bash-completion-r1 distutils-r1 versionator webapp
-
-MY_P="Django-${PV}"
+inherit bash-completion-r1 distutils-r1 eutils git-r3 versionator webapp
DESCRIPTION="High-level Python web framework"
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django"
-SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz"
+SRC_URI=""
+EGIT_REPO_URI="
+ git://github.com/django/django.git
+ https://github.com/django/django.git
+ "
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-IUSE="doc mysql postgres sqlite test"
+KEYWORDS=""
+IUSE="doc sqlite test"
-PY2_USEDEP=$(python_gen_usedep 'python2*')
-RDEPEND="virtual/python-imaging[${PYTHON_USEDEP}]
- postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] )
- mysql? ( >=dev-python/mysql-python-1.2.3[${PY2_USEDEP}] )"
+RDEPEND=""
DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] )
- test? ( ${PYTHON_DEPS//sqlite?/sqlite} )"
-
-#if LIVE
-SRC_URI=
-KEYWORDS=
-#endif
+ test? (
+ ${PYTHON_DEPS//sqlite?/sqlite}
+ dev-python/bcrypt[${PYTHON_USEDEP}]
+ dev-python/docutils[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]
+ dev-python/numpy[$(python_gen_usedep 'python*')]
+ dev-python/pillow[${PYTHON_USEDEP}]
+ dev-python/python-sqlparse[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/selenium[${PYTHON_USEDEP}]
+ sci-libs/gdal[geos,${PYTHON_USEDEP}]
+ )"
S="${WORKDIR}/${MY_P}"
WEBAPP_MANUAL_SLOT="yes"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.7.5-bashcomp.patch
+)
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+python_prepare_all() {
+ # Prevent d'loading in the doc build
+ sed -e '/^ "sphinx.ext.intersphinx",/d' -i docs/conf.py || die
+
+ distutils-r1_python_prepare_all
+}
+
python_compile_all() {
use doc && emake -C docs html
}
@@ -50,33 +67,36 @@ python_compile_all() {
python_test() {
# Tests have non-standard assumptions about PYTHONPATH,
# and don't work with ${BUILD_DIR}/lib.
- PYTHONPATH=. \
- "${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \
+ PYTHONPATH=. "${PYTHON}" tests/runtests.py --settings=test_sqlite -v2 \
|| die "Tests fail with ${EPYTHON}"
}
-src_test() {
- # Port conflict in django.test.testcases.LiveServerTestCase.
- # Several other races with temp files.
- DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test
-}
-
src_install() {
distutils-r1_src_install
webapp_src_install
+
+ elog "Additional Backend support can be enabled via"
+ optfeature "MySQL backend support in python 2.7 only" dev-python/mysql-python
+ optfeature "MySQL backend support in python 2.7 - 3.4" dev-python/mysqlcient
+ optfeature "PostgreSQL backend support" dev-python/psycopg:2
+ optfeature "GEO Django" sci-libs/gdal[geos]
+ optfeature "Memcached support" dev-python/python-memcached
+ optfeature "ImageField Support" virtual/python-imaging
+ echo ""
}
python_install_all() {
- distutils-r1_python_install_all
- newbashcomp extras/django_bash_completion ${PN}
+ newbashcomp extras/django_bash_completion ${PN}-admin
+ bashcomp_alias ${PN}-admin django-admin.py
if use doc; then
- rm -fr docs/_build/html/_sources
- dohtml -A txt -r docs/_build/html/.
+ rm -fr docs/_build/html/_sources || die
+ local HTML_DOCS=( docs/_build/html/. )
fi
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
doins -r django/contrib/admin/static/admin/.
+ distutils-r1_python_install_all
}
pkg_postinst() {
diff --git a/dev-python/django/files/django-1.4.19-bashcomp.patch b/dev-python/django/files/django-1.4.19-bashcomp.patch
new file mode 100644
index 000000000000..26d5f7ee1405
--- /dev/null
+++ b/dev-python/django/files/django-1.4.19-bashcomp.patch
@@ -0,0 +1,37 @@
+ extras/django_bash_completion | 17 +----------------
+ 1 file changed, 1 insertion(+), 16 deletions(-)
+
+diff --git a/extras/django_bash_completion b/extras/django_bash_completion
+old mode 100755
+new mode 100644
+index 1c3887e..748227d
+--- a/extras/django_bash_completion
++++ b/extras/django_bash_completion
+@@ -37,7 +37,7 @@ _django_completion()
+ COMP_CWORD=$COMP_CWORD \
+ DJANGO_AUTO_COMPLETE=1 $1 ) )
+ }
+-complete -F _django_completion -o default django-admin.py manage.py django-admin
++complete -F _django_completion -o default django-admin.py django-admin
+
+ _python_django_completion()
+ {
+@@ -55,18 +55,3 @@ _python_django_completion()
+ fi
+ fi
+ }
+-
+-# Support for multiple interpreters.
+-unset pythons
+-if command -v whereis &>/dev/null; then
+- python_interpreters=$(whereis python | cut -d " " -f 2-)
+- for python in $python_interpreters; do
+- pythons="${pythons} $(basename -- $python)"
+- done
+- pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")
+-else
+- pythons=python
+-fi
+-
+-complete -F _python_django_completion -o default $pythons
+-
diff --git a/dev-python/django/files/django-1.4.19-test.patch b/dev-python/django/files/django-1.4.19-test.patch
new file mode 100644
index 000000000000..3fc4b09c3357
--- /dev/null
+++ b/dev-python/django/files/django-1.4.19-test.patch
@@ -0,0 +1,14 @@
+ tests/regressiontests/utils/jslex.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/tests/regressiontests/utils/jslex.py b/tests/regressiontests/utils/jslex.py
+index 7cd93ca..24317ff 100644
+--- a/tests/regressiontests/utils/jslex.py
++++ b/tests/regressiontests/utils/jslex.py
+@@ -1,5 +1,5 @@
++# -*- coding: utf-8 -*-
+ """Tests for jslex."""
+-# encoding: utf-8
+ # originally from https://bitbucket.org/ned/jslex
+
+ from django.test import TestCase
diff --git a/dev-python/django/files/django-1.6.10-bashcomp.patch b/dev-python/django/files/django-1.6.10-bashcomp.patch
new file mode 100644
index 000000000000..7c6ceff076a4
--- /dev/null
+++ b/dev-python/django/files/django-1.6.10-bashcomp.patch
@@ -0,0 +1,35 @@
+ extras/django_bash_completion | 17 +----------------
+ 1 file changed, 1 insertion(+), 16 deletions(-)
+
+diff --git a/extras/django_bash_completion b/extras/django_bash_completion
+index 8f85211..ab13755 100755
+--- a/extras/django_bash_completion
++++ b/extras/django_bash_completion
+@@ -37,7 +37,7 @@ _django_completion()
+ COMP_CWORD=$COMP_CWORD \
+ DJANGO_AUTO_COMPLETE=1 $1 ) )
+ }
+-complete -F _django_completion -o default django-admin.py manage.py django-admin
++complete -F _django_completion -o default django-admin.py django-admin
+
+ _python_django_completion()
+ {
+@@ -55,18 +55,3 @@ _python_django_completion()
+ fi
+ fi
+ }
+-
+-# Support for multiple interpreters.
+-unset pythons
+-if command -v whereis &>/dev/null; then
+- python_interpreters=$(whereis python | cut -d " " -f 2-)
+- for python in $python_interpreters; do
+- pythons="${pythons} ${python##*/}"
+- done
+- pythons=$(echo $pythons | tr " " "\n" | sort -u | tr "\n" " ")
+-else
+- pythons=python
+-fi
+-
+-complete -F _python_django_completion -o default $pythons
+-
diff --git a/dev-python/django/files/django-1.6.10-test.patch b/dev-python/django/files/django-1.6.10-test.patch
new file mode 100644
index 000000000000..abc39ffbca2b
--- /dev/null
+++ b/dev-python/django/files/django-1.6.10-test.patch
@@ -0,0 +1,81 @@
+ django/core/management/commands/makemessages.py | 4 ++--
+ tests/i18n/commands/extraction.py | 14 +++++++++++---
+ tests/utils_tests/test_jslex.py | 2 +-
+ 3 files changed, 14 insertions(+), 6 deletions(-)
+
+diff --git a/django/core/management/commands/makemessages.py b/django/core/management/commands/makemessages.py
+index 5b09661..c8f05ac 100644
+--- a/django/core/management/commands/makemessages.py
++++ b/django/core/management/commands/makemessages.py
+@@ -90,7 +90,7 @@ class TranslatableFile(object):
+ orig_file = os.path.join(self.dirpath, self.file)
+ is_templatized = file_ext in command.extensions
+ if is_templatized:
+- with open(orig_file, "rU") as fp:
++ with open(orig_file, "r") as fp:
+ src_data = fp.read()
+ thefile = '%s.py' % self.file
+ content = templatize(src_data, orig_file[2:])
+@@ -404,7 +404,7 @@ class Command(NoArgsCommand):
+ for domain in domains:
+ django_po = os.path.join(django_dir, 'conf', 'locale', locale, 'LC_MESSAGES', '%s.po' % domain)
+ if os.path.exists(django_po):
+- with io.open(django_po, 'rU', encoding='utf-8') as fp:
++ with io.open(django_po, 'r', encoding='utf-8') as fp:
+ m = plural_forms_re.search(fp.read())
+ if m:
+ plural_form_line = force_str(m.group('value'))
+diff --git a/tests/i18n/commands/extraction.py b/tests/i18n/commands/extraction.py
+index e0b6deb..06cf50d 100644
+--- a/tests/i18n/commands/extraction.py
++++ b/tests/i18n/commands/extraction.py
+@@ -5,6 +5,7 @@ import io
+ import os
+ import re
+ import shutil
++import sys
+ import warnings
+
+ from django.core import management
+@@ -141,6 +142,10 @@ class BasicExtractorTests(ExtractorTests):
+ self.assertIn("UnicodeDecodeError: skipped file not_utf8.txt in .",
+ force_text(stdout.getvalue()))
+
++ # This issue is fixed in 1.8+ (#23312).
++ if six.PY3 and sys.platform.startswith('win'):
++ test_unicode_decode_error = expectedFailure(test_unicode_decode_error)
++
+ def test_extraction_warning(self):
+ """test xgettext warning about multiple bare interpolation placeholders"""
+ os.chdir(self.test_dir)
+@@ -206,13 +211,16 @@ class BasicExtractorTests(ExtractorTests):
+ self.assertEqual(len(ws), 3)
+ for w in ws:
+ self.assertTrue(issubclass(w.category, TranslatorCommentWarning))
+- six.assertRegex(self, str(ws[0].message),
++ six.assertRegex(
++ self, str(ws[0].message),
+ r"The translator-targeted comment 'Translators: ignored i18n comment #1' \(file templates[/\\]comments.thtml, line 4\) was ignored, because it wasn't the last item on the line\."
+ )
+- six.assertRegex(self, str(ws[1].message),
++ six.assertRegex(
++ self, str(ws[1].message),
+ r"The translator-targeted comment 'Translators: ignored i18n comment #3' \(file templates[/\\]comments.thtml, line 6\) was ignored, because it wasn't the last item on the line\."
+ )
+- six.assertRegex(self, str(ws[2].message),
++ six.assertRegex(
++ self, str(ws[2].message),
+ r"The translator-targeted comment 'Translators: ignored i18n comment #4' \(file templates[/\\]comments.thtml, line 8\) was ignored, because it wasn't the last item on the line\."
+ )
+ # Now test .po file contents
+diff --git a/tests/utils_tests/test_jslex.py b/tests/utils_tests/test_jslex.py
+index a2af7b4..e696149 100644
+--- a/tests/utils_tests/test_jslex.py
++++ b/tests/utils_tests/test_jslex.py
+@@ -1,5 +1,5 @@
++# -*- coding: utf-8 -*-
+ """Tests for jslex."""
+-# encoding: utf-8
+ # originally from https://bitbucket.org/ned/jslex
+
+ from django.test import TestCase