[arch-commits] Commit in python-parso/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Nov 15 19:42:38 UTC 2017


    Date: Wednesday, November 15, 2017 @ 19:42:37
  Author: jelle
Revision: 266902

archrelease: copy trunk to community-any

Added:
  python-parso/repos/community-any/PKGBUILD
    (from rev 266901, python-parso/trunk/PKGBUILD)
Deleted:
  python-parso/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 36 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-15 19:42:25 UTC (rev 266901)
+++ PKGBUILD	2017-11-15 19:42:37 UTC (rev 266902)
@@ -1,32 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
-
-_pkgbase=parso
-pkgbase=python-parso
-pkgname=('python-parso' 'python2-parso')
-pkgver=0.1.0
-pkgrel=1
-pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions"
-arch=('any')
-url="https://github.com/davidhalter/parso"
-license=('MIT')
-makedepends=('python' 'python2')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz")
-md5sums=('12c9648d902aafc69f9141e4c500dc12')
-
-check() {
-  cd "$_pkgbase-$pkgver"
-  pytest test
-}
-
-package_python-parso() {
-  depends=('python')
-  cd "$_pkgbase-$pkgver"
-  python3 setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-parso() {
-  depends=('python2')
-  cd "$_pkgbase-$pkgver"
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}

Copied: python-parso/repos/community-any/PKGBUILD (from rev 266901, python-parso/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-15 19:42:37 UTC (rev 266902)
@@ -0,0 +1,36 @@
+# Maintainer: Jelle van der Waa <jelle at vdwaa.nl>
+
+_pkgbase=parso
+pkgbase=python-parso
+pkgname=('python-parso' 'python2-parso')
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="Python parser that supports error recovery and round-trip parsing for different Python versions"
+arch=('any')
+url="https://github.com/davidhalter/parso"
+license=('MIT')
+makedepends=('python' 'python2')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/davidhalter/parso/archive/v$pkgver.tar.gz")
+md5sums=('6cf68662d5b339ad0d7d2e7c59942f35')
+
+check() {
+  cd "$_pkgbase-$pkgver"
+  pytest test
+}
+
+package_python-parso() {
+  depends=('python')
+  cd "$_pkgbase-$pkgver"
+  python3 setup.py install --root="$pkgdir/" --optimize=1
+
+  install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-parso() {
+  depends=('python2')
+  cd "$_pkgbase-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+
+  install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list