mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/mwlib-ext: Clean old versions up
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST mwlib.ext-0.12.4.zip 2168636 SHA256 fa7ed70ff32389a7b825c430004ed37161963262c5b64c4835694c73c7d3a4bb SHA512 4fabe12c6a3ff352921ce3a46608e3194304176f9fe7c5860d39ac7f51e0dcb5ecca3002799c94ec4c53a1c9aa42f59f9cad646adeccffcfb194b5411b50efb9 WHIRLPOOL d3b0cdfe0b3ad34140320b350bb98cd44583c807b4b7b6f98e48345992435f3b985ba5e22aa02a976fcd544aa55f455f7c0d97ffd8c703539f26226d17dba137
|
||||
DIST mwlib.ext-0.13.2.zip 2111364 SHA256 9229193ee719568d482192d9d913b3c4bb96af7c589d6c31ed4a62caf5054278 SHA512 a7c6a53d92335d59f952c9fc549ef079afa92dbf8b3c97930463c817c867c27d6ea97b3a52aeadc12c6d107f149630799007409f1c1ca23186ba64a2e71ca6d8 WHIRLPOOL 600ada3cf17f8c8076d38262a2777acfe8c6add37f04360d64fb1869d9dfaa13c6dc176436e18208689a73386588aaf5004c7dc4baa36100776c4d58d3d74618
|
||||
|
||||
@@ -1,36 +0,0 @@
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 9886715..b47b79b 100755
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -7,30 +7,16 @@ except ImportError:
|
||||
ez_setup.use_setuptools()
|
||||
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,
|
||||
@@ -1,28 +0,0 @@
|
||||
# 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}/0.12.4-unbundle-reportlab.patch" )
|
||||
Reference in New Issue
Block a user