rm old
authorIan Delaney <idella4@gentoo.org>
Tue, 9 Dec 2014 06:35:49 +0000 (06:35 +0000)
committerIan Delaney <idella4@gentoo.org>
Tue, 9 Dec 2014 06:35:49 +0000 (06:35 +0000)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xB8072B0D

dev-python/mwlib/ChangeLog
dev-python/mwlib/Manifest
dev-python/mwlib/mwlib-0.15.10.ebuild [deleted file]
dev-python/mwlib/mwlib-0.15.12.ebuild [deleted file]
dev-python/mwlib/mwlib-0.15.14.ebuild [deleted file]

index 28734088e6c2406ecb06a63d85b5c6e88651726c..0b927f3629bb1eb92a8daf6ebb541a443c269adc 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for dev-python/mwlib
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.34 2014/10/13 01:23:15 idella4 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mwlib/ChangeLog,v 1.35 2014/12/09 06:35:20 idella4 Exp $
+
+  09 Dec 2014; Ian Delaney <idella4@gentoo.org> -mwlib-0.15.10.ebuild,
+  -mwlib-0.15.12.ebuild, -mwlib-0.15.14.ebuild:
+  rm old
 
   13 Oct 2014; Ian Delaney <idella4@gentoo.org> mwlib-0.15.10.ebuild,
   mwlib-0.15.12.ebuild, mwlib-0.15.14.ebuild, mwlib-0.15.15.ebuild:
index 3fcbaf85fbd6bb53c9a6bc237d44075d46a3c804..bc57ba7b61d6d4bf9b9c82a61a1bd1c7783f683b 100644 (file)
@@ -14,20 +14,14 @@ AUX nslave.logrotate 144 SHA256 c25475bc939f6754dc503f998baa5fa828efe6a16367d1d2
 AUX postman.confd 464 SHA256 2ad05557765e58dd6fe8c8f87697a180f9bc254001e3b587db62121f7f0325e9 SHA512 38169c8722683f2ae8798f206cf80e3cfc09ec6c4f7dcd740a98c5c05f233123dbf59198359f1274c430ec063f5a52393bef3865edc02c5a66ce36ac59b98ea4 WHIRLPOOL ec76f5d9448a200aa5b56f9da0263a4eee8aed46b58ba85165327783208f9a7ec6b0db34e2abe357e79adad2ebf7eeb682517ab220f40e75ea5803d50875862c
 AUX postman.initd-r1 709 SHA256 a59806757157f7eae112a60db4720b3e2561f6bef712d52a4bc95135adccdefe SHA512 24f6906643479ea1d9248d2d0b2283f92d2b2764a3addaec7f4ef13e0019a808cb7eb0c1a1f20797f8de4b2f1f2d1845ca557b3890f4c71e9655141cd879c88f WHIRLPOOL 4fe6fe022d81a104d57aefb720c3a23a51c8d3b4a3a4c801920c6f0975e3e113e64ea0de42713a4b29cc9bcd3801d0bf1326753866847461963ca3397c7e0881
 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
 DIST mwlib-0.15.15.tar.gz 1705073 SHA256 06ce351df76fb4605913cda6c9702f8e5ea99147921921c2f8462c60791e4946 SHA512 e1c04c0cd86b8fd31f54033387426dcad343d4b5ef03f2f51b3689c0894f2cfa85c9246401f713836d76435c42c380ecf94c3000b4f38d1f1b2789780d93c5ca WHIRLPOOL b854d06f8b5450b519d0aa6e9232b8480839ecf867d111fc9f189e9c70fd7b857152cd40548132a1ac8fd3313c0ab5c79e244f4434ab752ac0ea4cc56bee5d53
-EBUILD mwlib-0.15.10.ebuild 3731 SHA256 ee580223736a240bf84d6a3ab8693f51ff30803da4beb0f29533ea5b5d694670 SHA512 2d105838e48748c21213b98d19215c795ed7a03ba623f48696c7f1098077ed26b5a0f9931847797e6b10d7ba431abb821c55d80109f2c9095ef2b95ebf696187 WHIRLPOOL 77cc9115d2784b36a2e83ba9d00c1afb989abea5962534f671e53988f1703a988e4b3c7a0a9b50ce357e23a8bd99765c8e01bad04923bf16193689724d154fa1
-EBUILD mwlib-0.15.12.ebuild 3779 SHA256 f54cce6521ea7b3ee8e296a8a08fa71ae728a881e74bb3cca29a75da2bbffb6c SHA512 3f57b5a0c3d4f0024ccef2fdfe0fba667dea0b206acdf10c866c9bec9e09763005569ac91f7dc02144ecc71516a9a97888d8cb685a6335244b1f076727022e5b WHIRLPOOL 3da953f4edb8f98423cd89b5647ba3414610c0f5892eb305c286488e1bde4abd1f82ed240704d525b4a59da204403d6c1f8c6331ad6a373633458014465b780e
-EBUILD mwlib-0.15.14.ebuild 3779 SHA256 24f5ed1dcfbbed753b9b5390a19aa2bb14c0226a827563c3ef0a2e6b6d710833 SHA512 0a94055a50edf22f2614ce4fb715ee298640971dd48f4f7b020ee9d3e1a12e8c5e5b8085ab279fc94f49b7c106db185ef47c902a4372340a8d5512d77e70368c WHIRLPOOL abd007e54cee8033214bf3c666deada0bcbeee8e2839709d8a866188c9fd9a12f0d4bce173c98324ee0d4bed55c06ff0fc7af5617c6e3b5f24a18d02d3b5ebe2
 EBUILD mwlib-0.15.15.ebuild 3897 SHA256 7806c9a11ad22ec8d6c6b0bbb4d24d9aed33a5e6afd249ae649c9a915a60b592 SHA512 5a53b23564d9d438f46ea9ae64066b45d764663527863644beeeb44e6d9f50b8795e115ee5c1361e6615ef6f65757d1523240bf7246456017237fd88993551eb WHIRLPOOL 67cd1dbf261dda70de977f0e1653720f0cec1fbf2c717a4115779ae2bfc70999d0962387e5a4f438edad8f6b361860a8bdf9c5f2045c9f2d693189cd7b000831
-MISC ChangeLog 6262 SHA256 e587d62962d24ea4c23f068bfe87f4b0917f9e8a47caaf03afeeb4da91487dd0 SHA512 ab2c2c74fa1ee8ce142764ba2ca3a28c85eee5b94db23ecf9f65d2a6287473aa6a598b01fb46fbc03d4aa8b4a178c4eafb6c3d10245dff50312e93cdd1f201df WHIRLPOOL e68b3f935a08a02995f7b8cafb54e9f5a80fef86a2ad6a2161e04053e0b6d8b96ebcd82dc51fc8c024c5b37ae007825a8e84d9adfbe1d9ca8abfb9229341c6de
+MISC ChangeLog 6391 SHA256 039b728296bb719a2c0997dfe17adec4e91665e253cacf77af57b51cabb2a9a3 SHA512 4db238a7d8b93ef53328dfe221be6d52eaea744a720be3f27c8264c5281d0f999c8c746571633958fcb153fe202ff51941186395e96490bc2456de6bed410e76 WHIRLPOOL 8a33f9487de2469c26cfa7cb8b53517688568c2ab69447b59486ffa880fe336e4517813b9de89d7b7480a54c1805ba4b128b1c259c9d3f8d0b1f8d227d7a200a
 MISC metadata.xml 363 SHA256 a109c7eed233daaf652818e2c9c439df31a18faf4ec8b3a06bb30038bcf07ded SHA512 57dcab4344fc29405d7cd92248359bee38bb8d0ef13b8081845b34649b2976bcb5896b9705870507693aa380ca21589890cc7d14ff4c834d0998e51692eb6f4e WHIRLPOOL b094da31315a9bffa13fc240c31f001bb433a243f4b5dbd3bd1f9871b8929a713e470fcf86c79443ef19af661af3a1160be538d61366cd1b73c0515889857814
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
 
-iEYEAREIAAYFAlQ7KZIACgkQso7CE7gHKw1cpgCg2a4L0d8ViWjQVRsM9tgFt1cw
-iOMAoMRiGauz3O/wEI6cUJACWxvm5Zbf
-=NQJI
+iEYEAREIAAYFAlSGmDwACgkQso7CE7gHKw3ZNQCfW+nqp/gcBzHJnptKcUZ7Sf8E
+vrAAnj6II6SuKoAA3DuOlJSu2SXSsa46
+=pKYN
 -----END PGP SIGNATURE-----
diff --git a/dev-python/mwlib/mwlib-0.15.10.ebuild b/dev-python/mwlib/mwlib-0.15.10.ebuild
deleted file mode 100644 (file)
index 6ea5988..0000000
+++ /dev/null
@@ -1,132 +0,0 @@
-# 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.10.ebuild,v 1.2 2014/10/13 01:23:15 idella4 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"
-
-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
-       <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[${PYTHON_USEDEP}] )"
-
-# 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 script.
-       rm -f tests/test_{nuwiki,redirect,zipwiki}.py || die
-       # Disable render test that fails for no apparent reason
-       rm -f tests/test_render.py || die
-       # Disable nserve test that fails for an apparent reason
-       # Bug 474874
-       rm -f tests/test_nserve.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() {
-       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
-}
diff --git a/dev-python/mwlib/mwlib-0.15.12.ebuild b/dev-python/mwlib/mwlib-0.15.12.ebuild
deleted file mode 100644 (file)
index 5fda8f8..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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.12.ebuild,v 1.2 2014/10/13 01:23:15 idella4 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[${PYTHON_USEDEP}] )
-       test? ( >=dev-python/wsgiintercept-0.6[${PYTHON_USEDEP}] )"
-
-# 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
-}
diff --git a/dev-python/mwlib/mwlib-0.15.14.ebuild b/dev-python/mwlib/mwlib-0.15.14.ebuild
deleted file mode 100644 (file)
index 337537c..0000000
+++ /dev/null
@@ -1,130 +0,0 @@
-# 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.2 2014/10/13 01:23:15 idella4 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[${PYTHON_USEDEP}] )
-       test? ( >=dev-python/wsgiintercept-0.6[${PYTHON_USEDEP}] )"
-
-# 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
-}