summaryrefslogtreecommitdiffstats
path: root/abs/core/python_modules
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2017-07-16 15:50:48 (GMT)
committerBritney Fransen <brfransen@gmail.com>2017-07-16 15:50:48 (GMT)
commit3bf92243e3e5c4a91d46ff6e59abc62299376193 (patch)
treef3729fbeab63cd1921f76e2c7f82ceaedb779d3c /abs/core/python_modules
parente418dc2bb6751ec6d2f495bb607c4490e7ba60e3 (diff)
downloadlinhes_pkgbuild-3bf92243e3e5c4a91d46ff6e59abc62299376193.zip
linhes_pkgbuild-3bf92243e3e5c4a91d46ff6e59abc62299376193.tar.gz
linhes_pkgbuild-3bf92243e3e5c4a91d46ff6e59abc62299376193.tar.bz2
python-regex: initial inclusion. dep of flexget
Diffstat (limited to 'abs/core/python_modules')
-rw-r--r--abs/core/python_modules/python-regex/PKGBUILD46
-rw-r--r--abs/core/python_modules/python-regex/__changelog1
2 files changed, 47 insertions, 0 deletions
diff --git a/abs/core/python_modules/python-regex/PKGBUILD b/abs/core/python_modules/python-regex/PKGBUILD
new file mode 100644
index 0000000..57f7fb6
--- /dev/null
+++ b/abs/core/python_modules/python-regex/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Jelle van der Waa <jelle@archlinux.org>
+# Contributor: Nikola Milinković <nikmil@gmail.com>
+# Submitter: Xiao-Long Chen <chenxiaolong@cxl.epac.to>
+
+_pkgbase=regex
+pkgbase=python-regex
+pkgname=('python2-regex')
+pkgname=python-regex
+pkgver=2017.07.11
+pkgrel=1
+pkgdesc="Alternative python regular expression module."
+arch=('x86_64' 'i686')
+url="https://bitbucket.org/mrabarnett/mrab-regex"
+license=('Python')
+makedepends=('python2-setuptools')
+options=(!emptydirs)
+source=(https://pypi.io/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz)
+sha256sums=('dbda8bdc31a1c85445f1a1b29d04abda46e5c690f8f933a9cc3a85a358969616')
+
+package_python2-regex() {
+ depends=('python2')
+ conflicts=('python2-regex-hg')
+ pkgdesc="Alternative python regular expression module. (python2 version)"
+
+ cd "regex-${pkgver}"
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python2-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python2-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python2-regex/"
+}
+
+package_python-regex() {
+ depends=('python')
+ conflicts=('python-regex-hg')
+ pkgdesc="Alternative python regular expression module. (python3 version)"
+
+ cd "regex-${pkgver}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -v -m755 -d "${pkgdir}/usr/share/doc/python-regex"
+ install -v -m644 ./docs/Features.html "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/Features.rst "${pkgdir}/usr/share/doc/python-regex/"
+ install -v -m644 ./docs/UnicodeProperties.txt "${pkgdir}/usr/share/doc/python-regex/"
+}
diff --git a/abs/core/python_modules/python-regex/__changelog b/abs/core/python_modules/python-regex/__changelog
new file mode 100644
index 0000000..c6e1e55
--- /dev/null
+++ b/abs/core/python_modules/python-regex/__changelog
@@ -0,0 +1 @@
+PKGBUILD: don't build py 3 stuff