diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2014-01-30 13:36:46 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2014-01-30 13:36:46 +0000 |
commit | af67608a317001b5656992d16200f7bbc05d9da8 (patch) | |
tree | 6e663a5c6a8d1e86ca74311812bffd28acf80792 | |
parent | Cleanup old. Restrict dependency to <bluez-5 as reported on IRC. (diff) | |
download | historical-af67608a317001b5656992d16200f7bbc05d9da8.tar.gz historical-af67608a317001b5656992d16200f7bbc05d9da8.tar.bz2 historical-af67608a317001b5656992d16200f7bbc05d9da8.zip |
Version bump.
Package-Manager: portage-2.1.11.63/cvs/Linux x86_64
Manifest-Sign-Key: 0x1E0CA85F!
-rw-r--r-- | dev-python/mwlib/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/mwlib/Manifest | 4 | ||||
-rw-r--r-- | dev-python/mwlib/mwlib-0.15.14.ebuild | 130 |
3 files changed, 140 insertions, 3 deletions
diff --git a/dev-python/mwlib/ChangeLog b/dev-python/mwlib/ChangeLog index ae96e2a9d1d8..250fc0d6614b 100644 --- a/dev-python/mwlib/ChangeLog +++ b/dev-python/mwlib/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/mwlib -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.30 2013/11/27 17:21:30 dev-zero Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.31 2014/01/30 13:36:42 dev-zero Exp $ + +*mwlib-0.15.14 (30 Jan 2014) + + 30 Jan 2014; Tiziano Müller <dev-zero@gentoo.org> +mwlib-0.15.14.ebuild: + Version bump. *mwlib-0.15.12 (27 Nov 2013) diff --git a/dev-python/mwlib/Manifest b/dev-python/mwlib/Manifest index e59acafbdac0..518d7ebece28 100644 --- a/dev-python/mwlib/Manifest +++ b/dev-python/mwlib/Manifest @@ -13,7 +13,9 @@ AUX postman.initd-r1 709 SHA256 a59806757157f7eae112a60db4720b3e2561f6bef712d52a AUX postman.logrotate 146 SHA256 a4c198c83e42a8407c3a2e7ce928e82050d4bbed31b62b71b95ba6fad56b03ae SHA512 1f12b6dc7694fbd955f06e2fd4d57520b5ce5c6e4fc39f5589b79c917cc0ef994098d6d01277772db26d90d78f714546a805e86252a2763c2400eaa27a5db118 WHIRLPOOL 75f92580ced9cf1861713465b05eb130a530b619dddec08b6fdd743488607f240c0b131d1bec6643d9757eeccc75b2fbad21da29eebba0fb12989f2afd9b2c56 DIST mwlib-0.15.10.zip 1846172 SHA256 37eabf874289bc39e31fd76b9fe54fa3c5384a807d246433ad45d28732fa4d83 SHA512 5b5ca680b70eeae8683db346f101f8de50719df68dfcaefb03b18fc6ca7d335870252b78fc53264552c736ded7d6826c3e2b12627a012edf36770d89528206a2 WHIRLPOOL ef61109c0de292bab3a322eb24fba8aa574425a568fdfce74658e58ed1f844ffa1dbcd505dbf5a7a77c5011e68a6212d8ad28a40cafe7db0ed81afbc858e24d0 DIST mwlib-0.15.12.zip 1846903 SHA256 8b45a40934e62bd7a2af5008f5dde17fae6ab864b1e85e95643958e1042d6bf3 SHA512 f0fe063a907dafdb5dafc0b85d8495b177a23382de2181ad0193ce71b1f0ceeef90183b4c516c494413237094b5842ef89dfea64b65ef015fa75a9ccd3d8d89f WHIRLPOOL 3e86724d8f573041a82055d87c61e295f1ac5298e1e1e5fc93df550db696761ca355ac89c992a47b45cd8fbdb01ee6ffbd3d08a38119fc606c3e710abee99e81 +DIST mwlib-0.15.14.zip 1847556 SHA256 d0a0f2bf6b886045f2b94d38a91223151ff2a15c24cda550dbd95e99f5a2d3ee SHA512 bf049364928dfa945ee2c97a63e50485da15f22c981ddf0586c066242202c33982638145ca4a65a54f36c02cca101edda2c836dd941b1ae2e953c72779934e28 WHIRLPOOL ae430f37df1be3e8149870d439c89c8e8806b019d254d435a88ddaaef637245717349985c75c542b78e8dd17b85988b920f508b89ac6ace92d975c89de6fe700 EBUILD mwlib-0.15.10.ebuild 3713 SHA256 679f655f49077b6e4730f46eec4a2465d5e2446cb9d5bb39653cf91f4450b755 SHA512 5dbc1ab444be9b772de1283f53949fb43ea47578286b2866d1bb0e72ef6a8ffed3cce352065c1084adc1b38353f4c2c96a33019bdb1269b50b3f4182adf8ebbf WHIRLPOOL 620a711af37ae2e3315bf6683704c1560246a300e218733602f0f33baa0581302c0e00ca9bb9f8eac92b81215bc3929fcb57e9e54929088d5ac9a43ef677f6e7 EBUILD mwlib-0.15.12.ebuild 3744 SHA256 36a70ea01175edd4ecf15d495a40e4a6c315a9198d5a106373eba1b64d3a46ea SHA512 c0534a7d5d3d79ffad3ac68d66be9d5aee00985318727f35823ba079cfb6f6566f98fb5c3794d345f357592a537a7ea5e6253b39950cf6f9a1fb18cb7dcde102 WHIRLPOOL ac5c82a2b42ae9e818e3519b4997720123e68a4669323f7f7e9c0da55a15ea58e00a0867bae3733db35a20860716e7871f3eccd51483bb8f126fbaa46b8b9643 -MISC ChangeLog 5682 SHA256 3e1239ec42ed2e2e981f75a30a4ddcae753d6b9158453eaf055c5bbe31bce4fa SHA512 1556d8684cffec357401f994c7bb46222a95d38df9fc58a301de15d05b01d44375276a7b77a7cad760a064b2da00ad84df159ae772685570411c1f5fcff34543 WHIRLPOOL a17bd153d59a137381e16421c31c13b1d8bbea13205f82df6d2bdedfe939bcc84795db47a2b15eaeda27921942fcaef5a95bc2b49343a26c2ae7960735fed0e5 +EBUILD mwlib-0.15.14.ebuild 3744 SHA256 05e68bc30f91c106804d01107ea48b391fdb2cf1606b0aa2deace0f63e206024 SHA512 759b559e23666cc2c3eceacd5e527e217cdb27a72a5a1c2432bcd3d7b8caf83b27d6cef06e460db2f70fd3f0c959db9a69aac9d24ddf6413c8e59f616a5cb3f1 WHIRLPOOL 48fe3ba93c96f26aeb207480ac161a592485028b98e3506ee64ca0d33620fa2ef73bde08090312da326ab6b734ca47b2cff71c14d83f2eb045d825db065775b1 +MISC ChangeLog 5805 SHA256 2fa9d363ba9a01cbca2b43c4f597e44d058d09fc737b8082efed6ee8e3c4787c SHA512 b702299fe6c4c13c2caaa50d0b5b60c8f8bd39b953f4553daaf42372ff232896d4c690874ae145be95b1ba9e7715eb05af45c5c06108bf7144818640b9bc706f WHIRLPOOL cab839a204c7881a17d13697b0d754763fc1016154db5fea63952d019037eece22012e80040cb79c91f1158fc53ed4799000eee9ff0b1ec6e9841f029c1748a6 MISC metadata.xml 363 SHA256 a109c7eed233daaf652818e2c9c439df31a18faf4ec8b3a06bb30038bcf07ded SHA512 57dcab4344fc29405d7cd92248359bee38bb8d0ef13b8081845b34649b2976bcb5896b9705870507693aa380ca21589890cc7d14ff4c834d0998e51692eb6f4e WHIRLPOOL b094da31315a9bffa13fc240c31f001bb433a243f4b5dbd3bd1f9871b8929a713e470fcf86c79443ef19af661af3a1160be538d61366cd1b73c0515889857814 diff --git a/dev-python/mwlib/mwlib-0.15.14.ebuild b/dev-python/mwlib/mwlib-0.15.14.ebuild new file mode 100644 index 000000000000..bb0933165709 --- /dev/null +++ b/dev-python/mwlib/mwlib-0.15.14.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/mwlib-0.15.14.ebuild,v 1.1 2014/01/30 13:36:42 dev-zero Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 user + +DESCRIPTION="Tools for parsing Mediawiki content to other formats" +HOMEPAGE="http://code.pediapress.com/wiki/wiki http://pypi.python.org/pypi/mwlib" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc server test" + +RDEPEND="dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/odfpy-0.9[${PYTHON_USEDEP}] + <dev-python/odfpy-0.10[${PYTHON_USEDEP}] + >=dev-python/pyPdf-1.12[${PYTHON_USEDEP}] + >=dev-python/pyparsing-1.5.5[${PYTHON_USEDEP}] + <dev-python/pyparsing-1.6[${PYTHON_USEDEP}] + >=dev-python/timelib-0.2[${PYTHON_USEDEP}] + virtual/latex-base + >=dev-python/simplejson-2.3[${PYTHON_USEDEP}] + dev-python/gevent[${PYTHON_USEDEP}] + >=dev-python/bottle-0.10[${PYTHON_USEDEP}] + >=dev-python/apipkg-1.2[${PYTHON_USEDEP}] + >=dev-python/qserve-0.2.7[${PYTHON_USEDEP}] + dev-python/roman[${PYTHON_USEDEP}] + >=dev-python/py-1.4[${PYTHON_USEDEP}] + dev-python/sqlite3dbm[${PYTHON_USEDEP}] + dev-python/pillow[${PYTHON_USEDEP}] + server? ( app-admin/sudo )" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + app-arch/unzip + doc? ( dev-python/sphinx ) + test? ( >=dev-python/wsgiintercept-0.6 )" + +# TODO: requires ploticus to generate timelines + +DOCS=(changelog.rst) + +pkg_setup() { + if use server ; then + enewgroup mwlib + enewuser mwlib -1 -1 -1 mwlib + fi +} + +python_prepare_all() { + # mwlib.apipkg is actually used. + sed -e 's/, "apipkg"//' -i setup.py || die + + # Execute odflint script. + sed \ + -e "/def _get_odflint_module():/,/odflint = _get_odflint_module()/d" \ + -e "s/odflint.lint(path)/os.system('odflint %s' % path)/" \ + -i tests/test_odfwriter.py || die + + # Disable test which requires installed mw-zip or mw-render script + # which don't get generated in distutils_install_for_testing for some reason + rm -f tests/test_{nuwiki,redirect,render,zipwiki}.py || die + + distutils-r1_python_prepare_all +} + +python_compile() { + if [[ ${EPYTHON} == python2* ]] ; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + + distutils-r1_python_compile +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + distutils_install_for_testing + PATH="${TEST_DIR}/scripts:${PATH}" py.test || die +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all + + if use server ; then + keepdir /var/log/mwlib + keepdir /var/cache/mwlib + + fowners mwlib:mwlib /var/log/mwlib /var/cache/mwlib + fperms 0750 /var/log/mwlib /var/cache/mwlib + + insinto /etc/logrotate.d + for d in mw-qserve nserve ; do + newins "${FILESDIR}/${d}.logrotate" "${d}" + newinitd "${FILESDIR}/${d}.initd" "${d}" + newconfd "${FILESDIR}/${d}.confd" "${d}" + done + + newins "${FILESDIR}/nslave.logrotate" "nslave" + newinitd "${FILESDIR}/nslave.initd-r1" "nslave" + newconfd "${FILESDIR}/nslave.confd-r1" "nslave" + + newins "${FILESDIR}/postman.logrotate" "postman" + newinitd "${FILESDIR}/postman.initd-r1" "postman" + newconfd "${FILESDIR}/postman.confd" "postman" + + insinto /etc/cron.d + newins "${FILESDIR}/mwlib-purge-cache.cron-r1" "mwlib-purge-cache" + else + rm "${D}"/usr/bin/{mw-qserve,nserve,nslave,postman}* || die "removing binaries failed" + fi +} + +pkg_postinst() { + elog "Please enable required image formats for dev-python/pillow" + if use server ; then + elog "A cronjob to cleanup the cache files got installed to" + elog " /etc/cron.d/mwlib-purge-cache" + elog "Default parameters are to clean every 24h, adjust it to your needs." + fi +} |