diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-05-21 15:51:48 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-05-21 15:51:48 +0000 |
commit | 54d07ea0f35eaae2bed96cf42b252f6e8848ece8 (patch) | |
tree | a0f7988d2f64f384132b65961ef423f400b19edd /dev-python/django-endless-pagination | |
parent | Stable for HPPA (bug #470388). (diff) | |
download | historical-54d07ea0f35eaae2bed96cf42b252f6e8848ece8.tar.gz historical-54d07ea0f35eaae2bed96cf42b252f6e8848ece8.tar.bz2 historical-54d07ea0f35eaae2bed96cf42b252f6e8848ece8.zip |
revbump, migrate -> distutils-r1, correct deps, test phase, drop old ebuild
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/django-endless-pagination')
4 files changed, 60 insertions, 55 deletions
diff --git a/dev-python/django-endless-pagination/ChangeLog b/dev-python/django-endless-pagination/ChangeLog index dca3a18644ca..2b015973b239 100644 --- a/dev-python/django-endless-pagination/ChangeLog +++ b/dev-python/django-endless-pagination/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-python/django-endless-pagination # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/ChangeLog,v 1.2 2013/01/09 09:02:48 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/ChangeLog,v 1.3 2013/05/21 15:51:11 idella4 Exp $ + +*django-endless-pagination-1.1-r1 (21 May 2013) + + 21 May 2013; Ian Delaney <idella4@gentoo.org> + +django-endless-pagination-1.1-r1.ebuild, + -django-endless-pagination-1.1.ebuild: + revbump, migrate -> distutils-r1, correct deps, test phase, drop old ebuild 10 Jan 2013; Ian Delaney <idella4@gentoo.org> django-endless-pagination-1.1.ebuild: diff --git a/dev-python/django-endless-pagination/Manifest b/dev-python/django-endless-pagination/Manifest index ddccf7489c03..6025459c74c2 100644 --- a/dev-python/django-endless-pagination/Manifest +++ b/dev-python/django-endless-pagination/Manifest @@ -2,13 +2,13 @@ Hash: SHA256 DIST django-endless-pagination-1.1.tar.gz 31499 SHA256 9b9ed6f93313ea1d6b3af650383fc4788b3151265e3841e41681e24e66abb72e SHA512 5526e565988e8af436936ffb949c826c20b6f3af4628e34a29f735a4e7fad97f0d953d53141b34dc268be185a25a2cd236b0b3a1e5946c52e8f6b8e6a0a4f9d7 WHIRLPOOL bfb569d657b4598a47d5cd1ba9ebdd1fd62b1310b65f53a026187b519cc8d70baa763bacef9e9f54e4eeee379cb06531c5c3ce396c15af102fd4615553c9ca72 -EBUILD django-endless-pagination-1.1.ebuild 1257 SHA256 2bac99ece04fa3e5cb0b1772132863fb437459ecc020b104e954e0574c74ba7a SHA512 2d6220665846e3262606e4e5d47ac12a815293c244590f38b674bdae7deb0228e8a29bab22b7c9c2385ce7bb7bdaeb72213870373f01ef5f4d2dea0c75664bc5 WHIRLPOOL 1657eb86c17cc24ee03186c459b7f3fd6f8520fe8622d15978125301c2ff5d08f140e9c5d8f3ff4a244bc5e17c636ba1ff8d7c7847ad85c811f847be340757f9 -MISC ChangeLog 623 SHA256 66b33cb39c7d45480736be3617ba1f494cb7e5e75beb7de36966aa158b734812 SHA512 8af27ddb770933cf9b0569506668107833fa668da0c25f9af203d2a53f654466c8220f8011bcdf497e59902be73b952b56e1de6abe13bbcf9f7a4a64c2d085ce WHIRLPOOL 0edeb0361f77b334e5be8135b7a42dd331bf0594d6f561168cd89886b403f0eaff93a7adc548063a4c28084b6995cf8e1e17662c23a9641a05fc6de73b868054 +EBUILD django-endless-pagination-1.1-r1.ebuild 1305 SHA256 8283bf763f246efd17654b3ae2a6b85898b5fe6d7d17c92a61a8088350b3b0cc SHA512 03ae82fa482b335a17459acccacd107ae928ebd08b187c9a026b7354830e02fa0344d430ca7f493fb841759f4de67d2ec6d7685e198bce78b8e4e7dbd89066cd WHIRLPOOL 014ba14fcb13efa6e2699ab5ad123e797701372561907a12c7288bcf75b4134bfa90e053dd7c9be3a8085273fbf3fb969eba0f78cc802de213b0c2af05f317e9 +MISC ChangeLog 884 SHA256 a46c42b4c70d6b264163841e50bd4b1d2c54ca1cb9cef82b0d3c48512983f7f4 SHA512 ab4dfd91e35adada4e5bca6ff6eb6a36ad5ccb4dea7a92852b0f567a494e21724b4bc7e9bdf0cf8ef1ce5d34f5177d34b000d8c0aea9d54de739222873da3b21 WHIRLPOOL 1e0b4b4f9b1b548d4b1f78b19c4b945462a8a28548267de65d0800d1965f824eb66a38ae0f78ec009692e11db8cac4a1b3ea0e26c4d8be0f60cbbd930742871c MISC metadata.xml 287 SHA256 952456674a5cb787b342dc5c66432502a5e6f8ed567a0e9f05f65e9d079f5d2f SHA512 09614efcfe6defa01168c86f21a1ea089a1659d0be2e12d5f8ad8dddd99f5fbf3c9b496ce3469d61274f77cb83f4aefa21685c57ce0cec7f8805e33dad7a513d WHIRLPOOL 77465865f58fcb922ab804cd9f87ecacb0a83da95911607fce948f5774b33ca7942c897bf6e61f549a614581d5867d3f8f919cd384924cc11d9573a5ce7acf65 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlDuEtoACgkQso7CE7gHKw0IVwCcDOE8DqsF1ZOP1FX7FMFKolJQ -PFgAoK6mLLXHaOMZ5YyWbhJxPtGZMq1n -=M6+h +iEYEAREIAAYFAlGbmAEACgkQso7CE7gHKw1D2ACfV/qTCiPoMlqQ94URQToPg5nT +aPYAnRW1ITMLex+YzOye+P5rMJEEXJKC +=Fa/1 -----END PGP SIGNATURE----- diff --git a/dev-python/django-endless-pagination/django-endless-pagination-1.1-r1.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-1.1-r1.ebuild new file mode 100644 index 000000000000..6838d10ff7d8 --- /dev/null +++ b/dev-python/django-endless-pagination/django-endless-pagination-1.1-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/django-endless-pagination-1.1-r1.ebuild,v 1.1 2013/05/21 15:51:10 idella4 Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="Tools supporting ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination" +HOMEPAGE="http://code.google.com/p/django-endless-pagination/" +SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND=">=dev-python/django-1.3[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C doc html +} + +python_test() { + export SECRET_KEY='green' + if ! "${PYTHON}" -c \ + "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \ + -d tests/runtests.py; then + die "Tests failed under python2.7" + else + einfo "Tests passed under python2.7" + fi +} + +python_install_all() { + use doc && local HTML_DOCS=( "${S}"/doc/_build/html/. ) + + #rm all OSX fork files, Bug #450842 + pushd "${ED}" > /dev/null + rm -f $(find . -name "._*") + distutils-r1_python_install_all +} diff --git a/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild b/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild deleted file mode 100644 index 360a268488da..000000000000 --- a/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django-endless-pagination/django-endless-pagination-1.1.ebuild,v 1.2 2013/01/09 09:02:48 idella4 Exp $ - -EAPI=4 - -PYTHON_DEPEND="2:2.7" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.*" -PYTHON_TESTS_RESTRICTED_ABIS="2.7-pypy-1.*" -inherit distutils - -DESCRIPTION="Tools supporting ajax, multiple and lazy pagination, Twitter-style and Digg-style pagination" -HOMEPAGE="http://code.google.com/p/django-endless-pagination/" -SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" -PYTHON_MODNAME="endless_pagination" - -DEPEND="dev-python/setuptools" -RDEPEND="${DEPEND} - doc? ( dev-python/sphinx )" - -src_compile() { - distutils_src_compile - use doc && emake -C doc html -} - -src_test() { - testing() { - pushd build-"${PYTHON_ABI}"/lib > /dev/null - PYTHONPATH=. "$(PYTHON)" -d "${S}"/tests/runtests.py - popd > /dev/null - } - python_execute_function testing -} - -src_install() { - distutils_src_install - use doc && dohtml -r doc/_build/html/ - - #rm all OSX fork files, Bug #450842 - pushd "${ED}" > /dev/null - rm -f $(find . -name "._*") - popd > /dev/null -} |