summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2013-06-15 11:44:03 +0000
committerIan Delaney <idella4@gentoo.org>2013-06-15 11:44:03 +0000
commit9a92dd40152cc130f21b06374e5cac786ac89362 (patch)
tree41a502d6d68b97b3b82d4e44a3b4f85c8ea38671 /dev-python/Djblets
parentVersion bump. (diff)
downloadhistorical-9a92dd40152cc130f21b06374e5cac786ac89362.tar.gz
historical-9a92dd40152cc130f21b06374e5cac786ac89362.tar.bz2
historical-9a92dd40152cc130f21b06374e5cac786ac89362.zip
revbump, migrate -> distutils-r1, bump, patch to exclude tests from install, add all req'd deps
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/Djblets')
-rw-r--r--dev-python/Djblets/ChangeLog9
-rw-r--r--dev-python/Djblets/Djblets-0.7.15.ebuild43
-rw-r--r--dev-python/Djblets/Manifest11
-rw-r--r--dev-python/Djblets/files/exclude-tests.patch18
4 files changed, 76 insertions, 5 deletions
diff --git a/dev-python/Djblets/ChangeLog b/dev-python/Djblets/ChangeLog
index d385e43a6a7a..46e3a1a5958f 100644
--- a/dev-python/Djblets/ChangeLog
+++ b/dev-python/Djblets/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/Djblets
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/ChangeLog,v 1.17 2013/06/09 16:59:24 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/ChangeLog,v 1.18 2013/06/15 11:43:35 idella4 Exp $
+
+*Djblets-0.7.15 (15 Jun 2013)
+
+ 15 Jun 2013; Ian Delaney <idella4@gentoo.org> +Djblets-0.7.15.ebuild,
+ +files/exclude-tests.patch, Djblets-0.6.22.ebuild, Djblets-0.7.14.ebuild:
+ revbump, migrate -> distutils-r1, bump, patch to exclude tests from install,
+ add all req'd deps
09 Jun 2013; Mike Gilbert <floppym@gentoo.org> Djblets-0.6.22.ebuild,
Djblets-0.7.14.ebuild:
diff --git a/dev-python/Djblets/Djblets-0.7.15.ebuild b/dev-python/Djblets/Djblets-0.7.15.ebuild
new file mode 100644
index 000000000000..198db8eaf870
--- /dev/null
+++ b/dev-python/Djblets/Djblets-0.7.15.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Djblets/Djblets-0.7.15.ebuild,v 1.1 2013/06/15 11:43:35 idella4 Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1 versionator
+
+DESCRIPTION="A collection of useful extensions for Django"
+HOMEPAGE="http://github.com/djblets/djblets"
+SRC_URI="http://downloads.reviewboard.org/releases/${PN}/$(get_version_component_range 1-2)/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=">=dev-python/django-1.4.5[${PYTHON_USEDEP}]
+ >dev-python/django-1.5[${PYTHON_USEDEP}]
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ >=dev-python/django-pipeline-1.2.24[${PYTHON_USEDEP}]
+ >=dev-python/feedparser-5.1.2[${PYTHON_USEDEP}]
+ dev-python/pytz[${PYTHON_USEDEP}]
+ dev-python/django-evolution[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( ${RDEPEND} )"
+
+python_prepare_all() {
+ # Easier to add the file since upstream (currently) unresponsive to request
+ # https://github.com/djblets/djblets/pull/6; & only if running tests
+ if use test; then
+ mkdir djblets/feedview/testdata || die
+ cp "${FILESDIR}"/sample.rss djblets/feedview/testdata || die
+ fi
+ epatch "${FILESDIR}"/exclude-tests.patch
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ export DJANGO_SETTINGS_MODULE="django.conf"
+ "${PYTHON}" -m tests.runtests || die "Tests failed under ${EPYTHON}"
+}
diff --git a/dev-python/Djblets/Manifest b/dev-python/Djblets/Manifest
index 68ba5c9a0445..6b36a699ada7 100644
--- a/dev-python/Djblets/Manifest
+++ b/dev-python/Djblets/Manifest
@@ -1,17 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX exclude-tests.patch 753 SHA256 07f3ffe87701ec87a47c529a92fb122283f800c4aa6e7ee5d2e0af3c897712f0 SHA512 3052d90dec0f3503bbcb6f51804ca6a1fcc4490a370064234d1d22b7fe90d80c394665ca733322798f4a28308c53dc4272cad362f1a99fcc4a96e54747eb06d6 WHIRLPOOL c749e5eabd413ebedbe021e025f9fc140452e58ba77c1b112a5eaabefce1f71622e6e32a9c008dc84b975598c562ab3c4ce1ffd808bb0aa254e92f4f5489fc7b
AUX sample.rss 5949 SHA256 9290b6309bcbc3d0f2270bc1b972e22643f4134ac7ab730148334aba3c21e872 SHA512 8588b33407e8d6b885d522218bd3635aa078b99756b28a141292acb8746236d517693eabbd375a0918734a913fa8ef60855df199ad0fad4bdfc22e602b186a1b WHIRLPOOL 19fc35c451807ba7ad0006feba0209abbbfb7d325f3a6f9f335093b2623c85e0f1d34d4bc69c7db84490289fbf5dab7ed6184a372fee388acad157f6a996ee48
DIST Djblets-0.6.22.tar.gz 282291 SHA256 bf4ac722cbf27228be3fee7a943b90e15786249f664832faa0b907a27dea2a0d SHA512 00818b9f2189ca1289be1c2c7b8e2a5ac250acba2ce6dfec26df90dd2e3322da14a2b6c0755749e8bc225e2c50093740a1c6903d0a9bda6c8c0e787d06265199 WHIRLPOOL 9f4790e6a006983258304df06c1d71c127295b9812be14db79ccf22d1ed8afef0d73617c9f7bb939091a4176a9a7b32f134afe935400db0724e92fd6db6430cb
DIST Djblets-0.7.14.tar.gz 437782 SHA256 4ce081030e07ddfac2fd65c745d5d644b46aae708734ebdfa2f59a2be81657c9 SHA512 9d7880fccbcaf67bb441776da0820a884a07ba51e3e542b198e67bb0a07d527ecb8a24eb792b1f0f75b17f013dbc3c6e85f252f7bfb047a4076ce0cbb8c17690 WHIRLPOOL 1033cf306e045b1277d6e007e0dc2707d162cdb85859949570b7979090917378ab714d64d8eef6178c66324382e10063345dbae210b989ca7fcb1984ec28be7a
+DIST Djblets-0.7.15.tar.gz 438027 SHA256 f67b2bf820a20e8614e50ca518fdf0cbe5de4ab7244f9b7f098343aa07bfee5f SHA512 9cda061d2127ad43add727527e7356d0198a1bd8c2248f5eb7018761e186b5255ecc6533c208ec34c644596128fb33e2bef646a829358cf11e4b525047542b40 WHIRLPOOL 6a30691f6cb40ac8c8752775a2ecc5d6cd877bc28bd9e69f0f989526a96bc34e0743f1985ed85ddedbee7b457b759aef57fc8c05facc34bbb5d13e6e0c680ca0
EBUILD Djblets-0.6.22.ebuild 1533 SHA256 7350dde57ff39cb58b0f96082ea44ea7e521402e0db46e0436a6e34ad0ed8b13 SHA512 4300badae6dfae3d985751ec964e6cad093067c2ba4eb46e35e4539a98235e25699ec76c1ebdcd327674cc6bf88c5e6d11322517f8522c4a0c2449071160e737 WHIRLPOOL 6885a71bd2a0de5e928c803b7439b5b1a1c692c283787ee562998fb4df3aee6185a57918c6e34c175b0bdf4139300d5705738558263b71398dabe97fe659b53b
EBUILD Djblets-0.7.14.ebuild 1532 SHA256 ead29195756137eec7f961032534f86f886b23012fae0820e369dcf0b97235f4 SHA512 84abc172aae94250e6f5e5508046ac76ad8f60c9ba99394746555b8235a1c8314f71633e84aee9a238c931b04eff39cfbcbdb0467ffd4269dbebaada8c628513 WHIRLPOOL edeff0a09b321c415266d9ced5b0b3e85feccc47364198a873fae6cfec54536d6008bc6611f2254fd7dce9abe1e28872511705aded5fd537a0a80bda7c1a4b96
-MISC ChangeLog 2763 SHA256 9a9936a0ba020664fec6a51f5d901a5938d05ee19ee1ee61ce617403129561f6 SHA512 4bba238f46eb079bfc82c90b14b6f2d36a977f5552ceff59e1e5851ffae4e960fe4e2f66271268be24d5972fa7fb522074cf5098a1eb3d080ed250182b0d2a8c WHIRLPOOL 8bc7d1eeaaccd75dfd49b728f624810b4913dcf27ee294fe17045f54a4130cc32d3b1e7bc322486927f7b3c3256bcb538c1e22ec85ea7022c155f0e4d2aa8e7f
+EBUILD Djblets-0.7.15.ebuild 1473 SHA256 7435e4d456a06ef9fc341b077593bb06e67b1a69d7d1a081d6c5b171551fdc0e SHA512 1ea9fc665666b651d05a99b5ce7d55a651131750918980ccfd47e3dbe199497291da004b96fa80e77c9400b95a08493251d23ddb0bb0e7007be1ade6c7acd05d WHIRLPOOL 2891fceed199584bad93e0e24374966d5bbc3b01ae2ea202929bfb9abdc4d24adadd580493442fd2222a0c1a908f9cb45c69682c8465734b98a27c604ae514cb
+MISC ChangeLog 3043 SHA256 c13c8371c2c47b55fdd382d11b97e2c3fdde95db3680adf56daf04bbf64ebd80 SHA512 e78c0a30cfd3f7faec6f2b34cb47e7f05e61feac8f9c14cd9223a1ccf2d5d99ef5a246bcc89157aeab64d75129ba5334ea40d7d98ec9b1cb0bbe724278a932a0 WHIRLPOOL 6c296f8133798a1be9b0accf823058eab760995d7d7891b269179ca667ee3891b942611694ce1b3ac9b3456b2b07c4b04f9c38f11ce7102d3e2b4320c8dd24d9
MISC metadata.xml 223 SHA256 89097f936927d56068988263e382edb683f359b27293955708e9ade4d256220d SHA512 c9f6a48b2aa05afdf73b8bd824c65480d76e54b659ca39928398c66f764d34faf186255d8aea034737424a962cf35151b610d078a01f8193b027c63e1e3c51b5 WHIRLPOOL 1ce20c98a7e177b8f510ef41f3935b0db5e04b2ecf465a683b2f2515f6a3043c33e6e9efc87f5aaaf59b2ed9be376d9d16bc8beff66b11aaa50ea899bfdc1f62
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlG0tG0ACgkQC77qH+pIQ6Th/QD+IXyuMG23KlgqSyVgiWHgkALr
-kNfERp8j+rf97vufivkA/0eFZ1Mylk8fdKNgmBkXDnTlwddxx9+7voRBKtOyFnjB
-=w7fV
+iEYEAREIAAYFAlG8U3MACgkQso7CE7gHKw0vWQCaA6CCkOBmeQ26wp1Sxh8dYpN7
+UpgAn2BA3Q4q8IMkWrTDKqrALzUt7DT4
+=g2KI
-----END PGP SIGNATURE-----
diff --git a/dev-python/Djblets/files/exclude-tests.patch b/dev-python/Djblets/files/exclude-tests.patch
new file mode 100644
index 000000000000..8ecc860084d6
--- /dev/null
+++ b/dev-python/Djblets/files/exclude-tests.patch
@@ -0,0 +1,18 @@
+diff -ur Djblets-0.7.15.orig/setup.py Djblets-0.7.15/setup.py
+--- setup.py 2013-05-26 15:54:39.000000000 +0800
++++ setup.py 2013-06-15 19:00:25.729083436 +0800
+@@ -94,7 +94,7 @@
+ test_suite="dummy",
+ license="MIT",
+ description="A collection of useful classes and functions for Django",
+- packages=find_packages(),
++ packages=find_packages(exclude=['tests']),
+ cmdclass=cmdclasses,
+ install_requires=[
+ 'Django>=1.4.5,<1.5',
+diff -ur Djblets-0.7.15.orig/Djblets.egg-info/top_level.txt Djblets-0.7.15/Djblets.egg-info/top_level.txt
+--- Djblets.egg-info/top_level.txt 2013-05-26 15:54:43.000000000 +0800
++++ Djblets.egg-info/top_level.txt 2013-06-15 19:09:32.729083587 +0800
+@@ -1,2 +1 @@
+ djblets
+-tests