From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- dev-python/mwlib-ext/Manifest | 6 ++++ .../files/0.13.2-unbundle-reportlab.patch | 35 ++++++++++++++++++++++ dev-python/mwlib-ext/metadata.xml | 11 +++++++ dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild | 28 +++++++++++++++++ 4 files changed, 80 insertions(+) create mode 100644 dev-python/mwlib-ext/Manifest create mode 100644 dev-python/mwlib-ext/files/0.13.2-unbundle-reportlab.patch create mode 100644 dev-python/mwlib-ext/metadata.xml create mode 100644 dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild (limited to 'dev-python/mwlib-ext') diff --git a/dev-python/mwlib-ext/Manifest b/dev-python/mwlib-ext/Manifest new file mode 100644 index 000000000000..0c2bb5ac738a --- /dev/null +++ b/dev-python/mwlib-ext/Manifest @@ -0,0 +1,6 @@ +AUX 0.13.2-unbundle-reportlab.patch 1211 SHA256 95fbf6ff64ef3210e7450a0725dcc11698e223d4bc12beab640b94c0484f8597 SHA512 9b722a08157d7e3545ce40c061ed84f1bda323bd65b2938062dc816d41b1005de851602249f787a5e6868674bf94ec37246572a7fe7476339fa5eae43e11dd72 WHIRLPOOL abbc2dae9ba6594b2dcf3745f47679631bb12509a741200d21b9a62ce95bd93bbde4986dd5f2f5adef2574ba4086925d9db8e9ee73307db77d6b117b4197af0a +DIST mwlib.ext-0.13.2.zip 2111364 SHA256 9229193ee719568d482192d9d913b3c4bb96af7c589d6c31ed4a62caf5054278 SHA512 a7c6a53d92335d59f952c9fc549ef079afa92dbf8b3c97930463c817c867c27d6ea97b3a52aeadc12c6d107f149630799007409f1c1ca23186ba64a2e71ca6d8 WHIRLPOOL 600ada3cf17f8c8076d38262a2777acfe8c6add37f04360d64fb1869d9dfaa13c6dc176436e18208689a73386588aaf5004c7dc4baa36100776c4d58d3d74618 +EBUILD mwlib-ext-0.13.2.ebuild 674 SHA256 6bc585b235f3cbfd4514e76958fc7a01b989ca72d3efa5ac2fa5d00c6fd7efa4 SHA512 735807e3b838b6377c978437d57b5b5fef098ce9b903aa43bfca50435747c752920c7d173e445ba12c87f2b5da5f9bf9c2a96b76ecbe9ea81472f774f839aaf6 WHIRLPOOL b6b98bc41093d1d99082c7784e460fac4336ca1276df9a16fb8589f9ec886aa5ec642d1c6b047f35ba314cfd7902702690a8f5744f0e67acdb2b3ce32e27b880 +MISC ChangeLog 2761 SHA256 80e7036454a38a7101d5a681a37b15b2ff96ed30f04c498bd671c0fd800192cb SHA512 da12900d6ec28255bd90d65c178a15fbb37dde968be8a7c7bd80fe7c08d77604feeeb0c8ceccc3abcad796f4a8192c3c471dc9e732a72037f0674a7b6b676704 WHIRLPOOL deb0f25607049ed7a6013954086a77124243119ed0dceca3343ca6269343e879c97f684e8f29510d1c1fd5b5674c22318be92ce5aba896518887c1d120b80189 +MISC ChangeLog-2015 1582 SHA256 1bd8b485e6a3026cc1f551ba58d8df24bbb3da9c008809b13232d83dc34b75a2 SHA512 2d3ae95b7ebdd04f019dc9dce8c41d99afebfb4021971b36068097440df6365dd43d9e7147d7f187bf46bc0eb6f8fdee94b5802fb03dd44baba789b0165c66cf WHIRLPOOL befe73df088ee1a49a488551770618661ed927841650ae8acba45de75851a13e8c5e6515a9b83d108a4cf9c5b8205356a6d3d2ca95c18a72a01e97f1b69c0edb +MISC metadata.xml 312 SHA256 2e9cd012605a2e9e5fea205ed9187b64e3c6ba80fa173c7e3da905227df8b6b3 SHA512 35e6f66eb933bb01e8475c55ff097ec406a08fd0358da5912fe702bebbbc46b04de23e7da88144ab699f91cb7796d7eb3fdb5e620dfb7f85b38caaf3c1c88a52 WHIRLPOOL 9c677c5126b6e3dfcb906e3a1151f6c16cb384d5d0caa16df8effbc5aa9f1785a44c59d9b1f1f9d4d0408274bbca48b4664b576de710efede10122b0995a57a6 diff --git a/dev-python/mwlib-ext/files/0.13.2-unbundle-reportlab.patch b/dev-python/mwlib-ext/files/0.13.2-unbundle-reportlab.patch new file mode 100644 index 000000000000..12156a796a5a --- /dev/null +++ b/dev-python/mwlib-ext/files/0.13.2-unbundle-reportlab.patch @@ -0,0 +1,35 @@ +diff -ur mwlib.ext-0.13.2.orig/setup.py mwlib.ext-0.13.2/setup.py +--- setup.py 2013-07-02 09:53:32.000000000 +0800 ++++ setup.py 2013-07-27 13:24:48.169128958 +0800 +@@ -1,30 +1,16 @@ + #! /usr/bin/env python + + from setuptools import setup, Extension, find_packages +-from distutils import sysconfig +-if sysconfig.get_config_var("LIBM") == "-lm": +- libraries = ["m"] +-else: +- libraries = [] +- + install_requires = [] + execfile('mwlib/_extversion.py') # adds 'version' to local namespace + +-ext_modules = [] +-ext_modules.append(Extension("mwlib.ext._rl_accel", +- ['upstream-src/src/rl_addons/rl_accel/_rl_accel.c'], +- libraries=libraries)) +- +-packages = ["mwlib.ext." + x for x in find_packages("upstream-src/src")] + find_packages(".") ++packages = find_packages(".") + + setup( + name="mwlib.ext", + version=str(version), + install_requires=install_requires, + packages=packages, +- package_dir={"mwlib.ext.reportlab": "upstream-src/src/reportlab", +- "mwlib.ext.rl_addons": "upstream-src/src/rl_addons"}, +- ext_modules=ext_modules, + namespace_packages=['mwlib'], + include_package_data=True, + zip_safe=False, diff --git a/dev-python/mwlib-ext/metadata.xml b/dev-python/mwlib-ext/metadata.xml new file mode 100644 index 000000000000..f5604784d292 --- /dev/null +++ b/dev-python/mwlib-ext/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + Python + + + mwlib.ext + + diff --git a/dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild b/dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild new file mode 100644 index 000000000000..6aa2127e6e65 --- /dev/null +++ b/dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +MY_PN="${PN/-/.}" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Extension module to mwlib to pull in reportlab" +HOMEPAGE="http://code.pediapress.com/wiki/wiki https://pypi.python.org/pypi/mwlib.ext" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.zip" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/reportlab-2.6[${PYTHON_USEDEP}]" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-arch/unzip" + +S="${WORKDIR}/${MY_P}" + +PATCHES=( "${FILESDIR}/${PV}-unbundle-reportlab.patch" ) -- cgit v1.2.3