[arch-commits] Commit in python-regex/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Nov 10 02:36:16 UTC 2020


    Date: Tuesday, November 10, 2020 @ 02:36:15
  Author: eschwartz
Revision: 748271

upgpkg: python-regex 2020.10.28-1: upstream release

license change + moved to dedicated file

Modified:
  python-regex/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-10 02:12:44 UTC (rev 748270)
+++ PKGBUILD	2020-11-10 02:36:15 UTC (rev 748271)
@@ -5,18 +5,18 @@
 
 _pkgbase=regex
 pkgname=python-regex
-pkgver=2020.10.15
-pkgrel=2
+pkgver=2020.10.28
+pkgrel=1
 pkgdesc="Alternative python regular expression module."
 arch=('x86_64')
 url="https://bitbucket.org/mrabarnett/mrab-regex"
-license=('Python')
+license=('Python' 'Apache')
 depends=('python')
 makedepends=('python-setuptools')
 options=(!emptydirs)
 source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
-sha256sums=('d25f5cca0f3af6d425c9496953445bf5b288bb5b71afc2b8308ad194b714c159')
-b2sums=('6e5dd6129b63e1c4e413df42d4fb910d7e79ab2d07f2a433296db49b4cc60fedf9bb4859a59e7dff40234261dfaa313516085a86acf95deb3b77393a966b8373')
+sha256sums=('dd3e6547ecf842a29cf25123fbf8d2461c53c8d37aa20d87ecee130c89b7079b')
+b2sums=('659508fef5de2b3c3e789ad02a09de05a5202ab70017617a4e0a7ca7beeb6a5720a3ef1ad76ed7fec6888be0be56010228a6f579daa3a0b2f11119fea66ecae3')
 
 build() {
   cd "regex-${pkgver}"
@@ -35,5 +35,5 @@
   cd "regex-${pkgver}"
 
   python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
-  sed -n '1,/^$/p' regex_3/regex.py | install -Dm644 /dev/stdin "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.txt
 }



More information about the arch-commits mailing list