diff options
author | Ian Delaney <idella4@gentoo.org> | 2012-12-01 12:52:48 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2012-12-01 12:52:48 +0000 |
commit | 5e2d1101e2eca3b234012ec3bdcd385c346c184f (patch) | |
tree | c67d756f781dbc59050085567370eb1de2a53dec /dev-python/django | |
parent | Switched to EAPI-5 for verbose build (bug #445388) and update desktop mimedat... (diff) | |
download | historical-5e2d1101e2eca3b234012ec3bdcd385c346c184f.tar.gz historical-5e2d1101e2eca3b234012ec3bdcd385c346c184f.tar.bz2 historical-5e2d1101e2eca3b234012ec3bdcd385c346c184f.zip |
bump, python[56] test restricted due to fails, requested by quantumsummers
Package-Manager: portage-2.1.11.30/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/django')
-rw-r--r-- | dev-python/django/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/django/Manifest | 14 | ||||
-rw-r--r-- | dev-python/django/django-1.3.4.ebuild | 111 |
3 files changed, 130 insertions, 2 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index 1fcaa6a3b7a3..504eb5f8ec70 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/django # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.88 2012/11/17 13:01:20 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.89 2012/12/01 12:52:19 idella4 Exp $ + +*django-1.3.4 (02 Dec 2012) + + 02 Dec 2012; Ian Delaney <idella4@gentoo.org> +django-1.3.4.ebuild: + bump, python[56] test restricted due to fails, requested by quantumsummers 17 Nov 2012; Agostino Sarubbo <ago@gentoo.org> django-1.4.1.ebuild: Stable for amd64, wrt bug #443422 diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index e1c58aac818e..606381fdf973 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,10 +1,22 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX django-1.3.1-djangodocs_extension.patch 1879 SHA256 fbf7b2383f18f03755f30fe9a25e05d994aa22d7a6832b92073f5a3dcf7a0a87 SHA512 54f14cd523ffb87cff1e768e656823a41d7ee7a29ccf2f2759622de1f4285b74b9e74810803af328cf3fdddbb97d35ec632ba8673a19713c6d8e06d174978d25 WHIRLPOOL 9a723ae60a3917ac16083e7ab4d19b8009a3662ef89bb91f8847b7f413907cb329419f4f9e97e517a07f99c235b5a2d0c2d26840e65dad26f6343aa572511487 DIST Django-1.3.2.tar.gz 6507042 SHA256 72c4080fe30863c4581521ef6f7bfcc12d01e7c55b9ad1935acaa43e466dd764 SHA512 8a9d78269f9a0b84d2716f0a29d83866c670c2cec50ac48e6f4455073c4bb44d8f7828c1c3e735683daf7c7f528fd00f65f457c6e34fc538d0f6a4bbb95f88e3 WHIRLPOOL f750574297620d43e74f8ec0ddaa9dc381b2bee0fcd6afe369985652acf21d7cb07a22a242aca440b17546a8a89822bc7ef5299aeb507cd2bd94f2d1669fd374 +DIST Django-1.3.4.tar.gz 6507771 SHA256 2626e6b216e1bdef887bd923f00d94d94b4d4e75fc2e336c6f156d842d10a607 SHA512 4c207e184ec3f01754c9916757b0c621fa76c0e9ca0aa642c37403c23e2481ef4120b763d5f2b3853125ae39bdab5f956f64fce6bb4c0e8db3d48b8891124618 WHIRLPOOL 22660ff18f03014b77cd9ded24a3c78064a47e9e464092e6abc347d902b30e375e15cf6f242834a06d78eeef5b6786a0307240173d3928fa4af366cf38fbb9d9 DIST Django-1.4.1.tar.gz 7656756 SHA256 4d8d20eba350d3d29613cc5a6302d5c23730c7f9e150985bc58b3175b755409b SHA512 1956e84c2c5131b17c76699a733801105c554d447341547c306ecf02ab1ef61371efe8fec0a8f10ddeafc9f13b61680543772678f9f1d594ad320c673669d0b2 WHIRLPOOL 38f639fa02681ab5a139bf9ce8807c0320796b7eb4e1acb498aae688a785c4ec5acaae15e9e50d8ec561be39145776d26860fbe50efab1f2dac12fa1b5504c38 DIST Django-1.4.2.tar.gz 7722026 SHA256 edfd8733f45bbaa524cee25bcac3080ce28c21242c27227464eae3fa6b3d80e7 SHA512 5021eec3c7a48537fa15097e471232cf13d2019cfa166ff4ad50388e09ea11d85161e2e4d92927e15b1c11831286d236bd7f9817c0a2557a4bccf7b08f10751e WHIRLPOOL cf7965d7c09ae6ff54c5d3a8acf3d3348d6b008d5bdb331c37af836ec03d39cee2e7f24fb9173da155f41e290034fbb962a68d728efbfd30c05291f61cdf6682 EBUILD django-1.3.2.ebuild 3118 SHA256 a14606386851e38b3f9742962684b81940cb7cc7319359165732c4bf97a291b4 SHA512 c2027870bd7551594d6f3abc7054d1363ac5e87af2b4aa582d3fcce22f4489dc43573f48623fb61066d37ceb965098eb208758f8fac6a555065f3fd365ee25a9 WHIRLPOOL 33575c226068d708f377ec39f4ad82197ee8481ecf3201755392e772c960b016175fcbf746275d66ce61b55ac6b1382716d6e3c797340d443b7fdd8017d97b79 +EBUILD django-1.3.4.ebuild 3174 SHA256 0520182f81d3df40b36047a11788c8677e5a11608fd97e5eac1acc545fa5620c SHA512 c564a5c0496b8257cf43d594b8d43121f13716891085c8cf6cce8a8939fb3068f2d700ea7250412c6fde076234436ab272f1d4e9a5785aa97741115f6106377b WHIRLPOOL c05a32bcbf4d86934f12812ae30bfc3eddabf1adca08257ed49dda04cf7ad56069c4f28529fe5ed93db8d1a9f2cbe6a03735e3cb0ff30b0dd4b043a0f4fd7fd3 EBUILD django-1.4.1.ebuild 3033 SHA256 c3bae9d936a2ee9d0c2ff3153999a9685ac16362db522dcf7eaaa192de7ef875 SHA512 a9f9ded04e21f98ce7689a5d85563abf6dff4f59e4cf9fdc9f8e6962d934266cab9a6887f39d00ac16b7b16f8234a9192bd90e1ba3acf2d6b69c6643991eeacd WHIRLPOOL 597e1250a7d63be2515926019f098e916d8be0f7824aee0b33ae181b185331619032ddd7b232fe99f02e00defb35aaf943df10798c44224fe7a5c4804577f71a EBUILD django-1.4.2.ebuild 3023 SHA256 991f232fba410418ac7c5952cada10986fdc75568e565e5085d27682c76533ee SHA512 5b44fb0d61e9a756b1afde8281fda80772537f5570d119a885fe03d0e974a6537780cc053801d7283ab7802639b45fb676c2b553a4668032899c227f72dea7e0 WHIRLPOOL 8ebfac3bbe188904b843c18486f4df00da0fc68d35de12eeac6ed026d88b469631cea3053ded73c8924d8024d4d67317c47f90c185fe5a58751f0bbc04b7dfed EBUILD django-9999.ebuild 2888 SHA256 fbdc827f1d63e04a250515c3ac4b640911b0aa7d89b5c5d7a005197fcfec5d38 SHA512 ff02473709c87dd7a588a7ee2641111292d4472aae399d90aad63a3ee82f7c3882630f507ac95d559bdf1fa88e63205cd6381872e8fa7b4e517e8b8018f4480a WHIRLPOOL 8c08e218fe0e4dd8a5c7ada9844bce83e25d46c9f8042bc015118f31bb53d66459b55ef5c7e34f7b8d07a5a9b15dc42f9a0eb4ac4ce73d6bbf63b217f328c1e3 -MISC ChangeLog 13653 SHA256 bd9ebe540089b6e5c7ce542cac31488b14bd5455e292729d15b316703bef54a6 SHA512 cd1eb756eed7c23785a97a0234ac4f72f9acfb4e01206207252a6987a617647580b7ec0ad862362d37df10b784ec023f7e98f32a588eeed8468fb5dde9b80b29 WHIRLPOOL c1704ff604589e7c4ddfc2f351521907de63835b9a5758467a7a525931d1562959c5d86eb0b9247570b425022016979d3bfc01def8667a9b6ae30a04d9c2455d +MISC ChangeLog 13834 SHA256 6b95b7196257d593c707ba6b0074c3caaf898041f0324b9feedd2b7d6708014b SHA512 47c71df21e3df30215d5d582e3bc306467673bc1551192c50a9b419ff95d2cc1f637aec77788e0d24055d70f7b43d817fdfe3c8b255f10797d51bbfb4255600f WHIRLPOOL e467cad458dd7d51bfd763c0fe5e7b82e1588005a37dde533884348bcafc40fc986d11086880de2e5b5b1ae967adb2b478b3be6ff662b341db2f34db3c5434f5 MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iEYEAREIAAYFAlC63nwACgkQso7CE7gHKw2p8QCePn40j5LySIJ6YNckXMXErjDZ +y6gAnR2mXS7VuKl4AsOceFLksv+mXHW4 +=/ZWL +-----END PGP SIGNATURE----- diff --git a/dev-python/django/django-1.3.4.ebuild b/dev-python/django/django-1.3.4.ebuild new file mode 100644 index 000000000000..aec15faf48fa --- /dev/null +++ b/dev-python/django/django-1.3.4.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.3.4.ebuild,v 1.1 2012/12/01 12:52:19 idella4 Exp $ + +EAPI="4" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +PYTHON_TESTS_RESTRICTED_ABIS="2.[56] 2.7-pypy-1.*" +inherit bash-completion-r1 distutils 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 ~x86-macos" +IUSE="doc mysql postgres sqlite test" + +RDEPEND="dev-python/imaging + sqlite? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) ) + postgres? ( dev-python/psycopg ) + mysql? ( >=dev-python/mysql-python-1.2.1_p2 )" +DEPEND="${RDEPEND} + doc? ( >=dev-python/sphinx-0.3 ) + test? ( || ( dev-lang/python:2.7[sqlite] dev-lang/python:2.6[sqlite] dev-lang/python:2.5[sqlite] dev-python/pysqlite:2 ) )" + +S="${WORKDIR}/${MY_P}" + +DOCS="docs/README AUTHORS" +WEBAPP_MANUAL_SLOT="yes" + +pkg_setup() { + python_pkg_setup + webapp_pkg_setup +} + +src_prepare() { + distutils_src_prepare + epatch "${FILESDIR}/${PN}-1.3.1-djangodocs_extension.patch" + + # 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 + sed \ + -e "s/test_urlfield_3/_&/" \ + -e "s/test_urlfield_4/_&/" \ + -e "s/test_urlfield_10/_&/" \ + -i tests/regressiontests/forms/tests/fields.py +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + pushd docs > /dev/null + emake html || die "Generation of documentation failed" + popd > /dev/null + fi +} + +src_test() { + testing() { + # Tests have non-standard assumptions about PYTHONPATH and + # don't work with usual "build-${PYTHON_ABI}/lib". + PYTHONPATH="." "$(PYTHON)" tests/runtests.py --settings=test_sqlite -v1 + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + newbashcomp extras/django_bash_completion ${PN} || die + + if use doc; then + rm -fr docs/_build/html/_sources + dohtml -A txt -r docs/_build/html/* || die "dohtml failed" + fi + + insinto "${MY_HTDOCSDIR#${EPREFIX}}" + doins -r django/contrib/admin/media/* || die "doins failed" + + webapp_src_install +} + +pkg_preinst() { + : +} + +pkg_postinst() { + distutils_pkg_postinst + + einfo "Now, Django has the best of both worlds with Gentoo," + einfo "ease of deployment for production and development." + echo + 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" + echo + ewarn "If you build Django ${PV} without USE=\"vhosts\"" + ewarn "webapp-config will automatically install the" + ewarn "admin media into the localhost webroot." +} |