diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-07-04 12:50:32 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-07-04 12:50:32 +0000 |
commit | 0378d2f4d95870864dc04cbcf485aa3a3eba366b (patch) | |
tree | 7e6b21935c007a2f92c23d017c7e435a3596c5c1 /dev-python/cssutils | |
parent | Version bump (fixes bug #430428). Removed old (diff) | |
download | historical-0378d2f4d95870864dc04cbcf485aa3a3eba366b.tar.gz historical-0378d2f4d95870864dc04cbcf485aa3a3eba366b.tar.bz2 historical-0378d2f4d95870864dc04cbcf485aa3a3eba366b.zip |
revbump; migrate -> distutils-r1, bump; test phases added accordingly, outstanding test failuress filed, cited, latest tarball 'topped up', re-tared, re-located to devspace
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/cssutils')
-rw-r--r-- | dev-python/cssutils/ChangeLog | 13 | ||||
-rw-r--r-- | dev-python/cssutils/Manifest | 11 | ||||
-rw-r--r-- | dev-python/cssutils/cssutils-0.9.10.ebuild | 60 | ||||
-rw-r--r-- | dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild | 63 |
4 files changed, 141 insertions, 6 deletions
diff --git a/dev-python/cssutils/ChangeLog b/dev-python/cssutils/ChangeLog index 2447a9d21c17..82f54cbd1666 100644 --- a/dev-python/cssutils/ChangeLog +++ b/dev-python/cssutils/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for dev-python/cssutils -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.26 2012/09/12 23:10:41 floppym Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/ChangeLog,v 1.27 2013/07/04 12:50:10 idella4 Exp $ + +*cssutils-0.9.10 (04 Jul 2013) +*cssutils-0.9.10_beta1-r1 (04 Jul 2013) + + 04 Jul 2013; Ian Delaney <idella4@gentoo.org> +cssutils-0.9.10.ebuild, + +cssutils-0.9.10_beta1-r1.ebuild: + revbump; migrate -> distutils-r1, bump; test phases added accordingly, + outstanding test failuress filed, cited, latest tarball 'topped up', re-tared, + re-located to devspace 12 Sep 2012; Mike Gilbert <floppym@gentoo.org> cssutils-0.9.10_beta1.ebuild: Remove obsolete sed. Thanks Arfrever. diff --git a/dev-python/cssutils/Manifest b/dev-python/cssutils/Manifest index dc6c9424b958..bb7f80911a45 100644 --- a/dev-python/cssutils/Manifest +++ b/dev-python/cssutils/Manifest @@ -1,16 +1,19 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 +DIST cssutils-0.9.10-20130704.tar.gz 354780 SHA256 c638d28b972bfdbc1e222a1c463e37793f3a6cea8bd2cae9b621510059e3e783 SHA512 a5a05cfb30068c3d4fa6cb50881e95a29a80ae591ff959119096c4a8b88c04e5e98ef64224d3f817975995eee3d1257971442d991c1f7f09596c7b42faf140a5 WHIRLPOOL f587c1faf1eb8144542808dfd4dd21cf6c78f410b74ba488bb91b88c3864f01f4c09c08211a4c9df1776e5f6a5c017d12e891e30ac9f38d836982b76540e4005 DIST cssutils-0.9.10b1.zip 430740 SHA256 f8ef24bb6c20b5c725291a10f486e8d99b2b0acffd429e1fd5d579e5bbf0ba2f SHA512 118865cba38fe65fd35a5adfe9d80cf3413c528c216c9cdb9a0cc7b74b9c2140b466f76efab80579c8796aff801afd06683839912e197962c6194a02ab410e64 WHIRLPOOL 19a32c08630a233a5680fc91683cd91bb1d868e2a1881c52d686f59986a54abe358494be784225c23cbc181561fa68ce84bc915a3c0ceef30efe742d88c65050 DIST cssutils-0.9.9.zip 426449 SHA256 f7061a591859c025504c7871ef3b843383a025d570128edf1c63a6ef53753e8d SHA512 aa378dea071c29772d1a67f64f5ddcd898330ef2d9bc24b49248e981d02aa0c9c240e8422069c15b71caf4a3ffe27a7bb00376c7a22387beaac0a073ff30c91c WHIRLPOOL f972d3ed485a8e24904018caf2a5fa9ecbd91d8093f7a31329536464c092c68928b9906e414cfe172dcf679fb1ab689d4f14ff0b4c3d98fdb3993083038390db +EBUILD cssutils-0.9.10.ebuild 1797 SHA256 c35682529a16298a4792154e53943fa6d796555d92548643f754742933cc4de7 SHA512 af0f0ed7ee6c48dc0e1bd6f9460ee7ebc23f075d874df7b01ddbdf98ad98ef0d269acb1a3a8e40cca4aafb88343dc098c730460232cfe7cde8df73d59bc45aef WHIRLPOOL e15ff94b324cf8d63491a56df7af60a0c9b3d748ce6153328fcfbb224e5955387989d2a83826700b7ef3f88fde5d5193c21c0d7d7d6dc2b970087836b2555432 +EBUILD cssutils-0.9.10_beta1-r1.ebuild 1738 SHA256 f2efc0215fa00aa64778cb166848c5c92f1cf70ef57392784335790a2c8a292e SHA512 a49cecca5072734235449d0851ea1b883ca630499aef47656f5d47b14c7d34713606e3ce5435f1cab5875fa64d552e33ab0dbfdb88e495d499f0960786d80ce0 WHIRLPOOL e894c140d17b46a3005af781f0b1232ddff08a81b812898b2f1ac2c27c81ec748bc0600eda6b9844a2919d43635a2474029f555ec77c73e34681c8616b2b12f5 EBUILD cssutils-0.9.10_beta1.ebuild 1531 SHA256 fb7aae8f4da1976d3ccba82c28ee0718e6707c5af1e15ed94c06780d819279d6 SHA512 27c95905e358370f8fefb27e1df87f9f5e23cc0cacade09ae4fa6f17cc001fb94ad2992ad58afa7fc45c0689cdc7cc594e558b7812e90ff0691e0c228ef61d95 WHIRLPOOL cf91d29a1a82f0fd2672ba743c3c9a62c21ea8ae25aef3002624ea2f8b1406d5b5ef0d7a373dbbce6a145daf7d3a8f8ad820c3a1f6c812c8301d0ce6bc9b5f7e EBUILD cssutils-0.9.9.ebuild 1614 SHA256 0c43f844f938f1da11efbd69715d94a41762752799821cb31be01ee53112eb0c SHA512 2220f72b3bcab6d007f61e7b776346246faa91ca9d478a6714af3bf62e1f8e3597d66495b5ae41c9e9ee382e38c2600038561ac69f7d8ed6c43dceb8e25f3ea7 WHIRLPOOL c840bf3a97e2298f90916382da2fb6913f53c0641ac5fc0da9a46f6c403f256b1d15a0cb0274f3de043d7dd02b5911d10494dbfd6daa6895b1a4366deb308f2d -MISC ChangeLog 4633 SHA256 44348575bc3dbb06af92bbdb44c571c22836091460f467c8d821d024a0bc3b58 SHA512 fa3c20b190320d1bc4dc61460b9e33f57d246314e73052f3ee2bd7f32d14c96170a92793dfca5a854a789535e6dafb1bc676b2a534faeb0325cf8ef216b50a2e WHIRLPOOL eb808df9300e784208ecca3f63df8ee27686b32cd4e2cb289996e0296c176ca7b93b885dd8053247da5d3225b932f2ee50ace9cb803de4c37b2dd7b27ceb0b16 +MISC ChangeLog 4994 SHA256 64e8491132ae2a67478ca2e1f82012719fdee67c3a9da98389d60c5a0ba088de SHA512 318140f4b6c93695fa544fcb0276054c99f3ca9198df7d7ad2e82abd2e8b8105f463a7d3b6bc28fac149b40b099b321e59d13be1b89108691f66ff5009490e0b WHIRLPOOL 9514486bdc76b3ef3c47050ef0578aa304a30041b88785e8b74992af8556c21cc0f9b18fd491351b94296facfbd3b2ebd5f93af7da264ed4702d697ce758ef7b MISC metadata.xml 447 SHA256 c27a9286ab697d851fb6771bb9d408585c183ae6ba42d4e60411e7e2fc94337f SHA512 35181d12c6d4a762f5213522977afba5f819260e75a04b306afdbebf58e19867ef31e453d2ba8ec1cb791907396ca20466752102b51fc9c81ff1792d28682041 WHIRLPOOL 66ba42e4acc701f2bcd45278dd64120b9c1618d2b1719e4f54c427d091fb0e4cb9f2fb9071baf65dfdfebb3a82297e2aa8852e3a207440f785e21d52f6d39f2e -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlBRFncACgkQC77qH+pIQ6RySQEAj9SOxEl2gM98yS9UQb0vIA/P -DpLPafJ0fysTeNuU4akA/12EW+oDjFmjILNSc0HueiCEwy9mviUGALm20jf4Co2e -=z0cs +iEYEAREIAAYFAlHVb4QACgkQso7CE7gHKw2ZuQCfSOuilMOttGW5ReMMGhh6u682 +qDMAoNqZvvMjmKnDtKS3lBk2Nmw7PtvU +=Vfgg -----END PGP SIGNATURE----- diff --git a/dev-python/cssutils/cssutils-0.9.10.ebuild b/dev-python/cssutils/cssutils-0.9.10.ebuild new file mode 100644 index 000000000000..eab84fccdb36 --- /dev/null +++ b/dev-python/cssutils/cssutils-0.9.10.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.10.ebuild,v 1.1 2013/07/04 12:50:10 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE="http://pypi.python.org/pypi/cssutils/ https://bitbucket.org/cthedot/cssutils" +SRC_URI="http://dev.gentoo.org/~idella4/tarballs/${P}-20130704.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/mock[${PYTHON_USEDEP}] )" +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # Disable test failing with dev-python/pyxml installed. + if has_version dev-python/pyxml; then + sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py + fi + + distutils-r1_python_prepare_all +} + +python_test() { + # https://bitbucket.org/cthedot/cssutils/issue/35/cssutils-0910-testsuite-fails-from-pypy + if [[ "${EPYTHON}" == python2* || "${EPYTHON}" == 'pypy2_0' ]]; then + pushd "${BUILD_DIR}"/../ > /dev/null + nosetests src/${PN}/tests/test_*.py || die "Tests failed under ${EPYTHON}" + else + pushd "${BUILD_DIR}"/ + ln -sf ../sheets . + cd lib || die + nosetests ${PN}/tests/test_*.py || die "Tests failed under ${EPYTHON}" + fi +} + +python_install() { + distutils-r1_python_install + # Don't install py3 stuff on py2. Breaks py25 + if [[ "${EPYTHON}" != python3.* ]]; then + rm -f "${ED}$(python_get_sitedir)/cssutils/_codec3.py" || die + fi + + # Don't install tests + rm -fr "${ED}$(python_get_sitedir)/${PN}/tests" || die +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild b/dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild new file mode 100644 index 000000000000..e48acd4c62f2 --- /dev/null +++ b/dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cssutils/cssutils-0.9.10_beta1-r1.ebuild,v 1.1 2013/07/04 12:50:10 idella4 Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7,3_2,3_3} pypy2_0 ) + +inherit distutils-r1 + +MY_P="${P/_beta/b}" + +DESCRIPTION="A CSS Cascading Style Sheets library" +HOMEPAGE="http://pypi.python.org/pypi/cssutils/ https://bitbucket.org/cthedot/cssutils" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.zip" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="examples test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + app-arch/unzip + test? ( dev-python/mock[${PYTHON_USEDEP}] )" + +S="${WORKDIR}/${MY_P}" +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # Disable test failing with dev-python/pyxml installed. + if has_version dev-python/pyxml; then + sed -e "s/test_linecol/_&/" -i src/tests/test_errorhandler.py + fi + distutils-r1_python_prepare_all +} + +python_test() { + if [[ "${EPYTHON}" == python2* || "${EPYTHON}" == 'pypy2_0' ]]; then + pushd "${BUILD_DIR}"/../ > /dev/null + nosetests src/tests/test_*.py || die "Tests failed under ${EPYTHON}" + else + pushd "${BUILD_DIR}"/ + ln -sf ../sheets . + cd lib || die + nosetests tests/test_*.py || die "Tests failed under ${EPYTHON}" + fi +} + +python_install() { + distutils-r1_python_install + # Don't install py3 stuff on py2. Breaks py25 + if [[ "${EPYTHON}" != python3.* ]]; then + rm -f "${ED}$(python_get_sitedir)/cssutils/_codec3.py" || die + fi + + # Don't install tests + rm -fr "${ED}$(python_get_sitedir)/tests" || die +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + distutils-r1_python_install_all +} |