diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/mwlib-ext | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/mwlib-ext')
-rw-r--r-- | dev-python/mwlib-ext/Manifest | 2 | ||||
-rw-r--r-- | dev-python/mwlib-ext/files/0.12.4-unbundle-reportlab.patch | 36 | ||||
-rw-r--r-- | dev-python/mwlib-ext/files/0.13.2-unbundle-reportlab.patch | 35 | ||||
-rw-r--r-- | dev-python/mwlib-ext/metadata.xml | 8 | ||||
-rw-r--r-- | dev-python/mwlib-ext/mwlib-ext-0.12.4-r1.ebuild | 29 | ||||
-rw-r--r-- | dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild | 29 |
6 files changed, 139 insertions, 0 deletions
diff --git a/dev-python/mwlib-ext/Manifest b/dev-python/mwlib-ext/Manifest new file mode 100644 index 000000000000..2248bb311788 --- /dev/null +++ b/dev-python/mwlib-ext/Manifest @@ -0,0 +1,2 @@ +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 diff --git a/dev-python/mwlib-ext/files/0.12.4-unbundle-reportlab.patch b/dev-python/mwlib-ext/files/0.12.4-unbundle-reportlab.patch new file mode 100644 index 000000000000..b630ae122c66 --- /dev/null +++ b/dev-python/mwlib-ext/files/0.12.4-unbundle-reportlab.patch @@ -0,0 +1,36 @@ +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, 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..c74bb5b4ec56 --- /dev/null +++ b/dev-python/mwlib-ext/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <upstream> + <remote-id type="pypi">mwlib.ext</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/mwlib-ext/mwlib-ext-0.12.4-r1.ebuild b/dev-python/mwlib-ext/mwlib-ext-0.12.4-r1.ebuild new file mode 100644 index 000000000000..1beeef52a2a6 --- /dev/null +++ b/dev-python/mwlib-ext/mwlib-ext-0.12.4-r1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 http://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" ) 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..cb699d9842dd --- /dev/null +++ b/dev-python/mwlib-ext/mwlib-ext-0.13.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 http://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" ) |