[arch-commits] Commit in python-regex/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Sun Feb 4 00:46:23 UTC 2018
Date: Sunday, February 4, 2018 @ 00:46:21
Author: eschwartz
Revision: 288867
upgpkg: python-regex 2018.02.03-1
upstream release
Modified:
python-regex/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-03 19:24:29 UTC (rev 288866)
+++ PKGBUILD 2018-02-04 00:46:21 UTC (rev 288867)
@@ -7,8 +7,8 @@
pkgbase=python-regex
pkgname=('python-regex' 'python2-regex')
pkgname=python-regex
-pkgver=2018.01.10
-pkgrel=2
+pkgver=2018.02.03
+pkgrel=1
pkgdesc="Alternative python regular expression module."
arch=('x86_64')
url="https://bitbucket.org/mrabarnett/mrab-regex"
@@ -16,7 +16,7 @@
makedepends=('python-setuptools' 'python2-setuptools')
options=(!emptydirs)
source=(https://pypi.io/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz)
-sha256sums=('139678fc013b75e486e580c39b4c52d085ed7362e400960f8be1711a414f16b5')
+sha256sums=('c5162e1ca552e50aac5101bbc97fc37562c69f939f21a13745d146ca7e748aa1')
build() {
cd "regex-${pkgver}"
@@ -39,7 +39,6 @@
package_python2-regex() {
depends=('python2')
- conflicts=('python2-regex-hg')
pkgdesc="Alternative python regular expression module. (python2 version)"
cd "regex-${pkgver}"
@@ -49,11 +48,12 @@
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/"
+
+ sed -n '1,/^$/p' regex_2/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
package_python-regex() {
depends=('python')
- conflicts=('python-regex-hg')
pkgdesc="Alternative python regular expression module. (python3 version)"
cd "regex-${pkgver}"
@@ -63,4 +63,6 @@
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/"
+
+ sed -n '1,/^$/p' regex_3/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list