[arch-commits] Commit in python-rply/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 7 05:12:39 UTC 2018
Date: Thursday, June 7, 2018 @ 05:12:39
Author: felixonmars
Revision: 341628
archrelease: copy trunk to community-any
Added:
python-rply/repos/community-any/PKGBUILD
(from rev 341627, python-rply/trunk/PKGBUILD)
Deleted:
python-rply/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 05:12:20 UTC (rev 341627)
+++ PKGBUILD 2018-06-07 05:12:39 UTC (rev 341628)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-rply
-pkgname=('python-rply' 'python2-rply')
-pkgver=0.7.5
-pkgrel=1
-pkgdesc="A pure Python Lex/Yacc that works with RPython"
-arch=('any')
-license=('BSD')
-url="https://rply.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-appdirs' 'python2-appdirs')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/alex/rply/archive/v$pkgver.tar.gz")
-sha512sums=('ccecc451d9e2e0fdf9df7eaaeabface782d9159cc1caf1feae6e46210f6384aa1a78c15ea3c0e9dcc0bd0d2b28e3b1328c8d37e94a8968b07ef7938e5f5ce201')
-
-prepare() {
- cp -a rply-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/rply-$pkgver
- python setup.py build
-
- cd "$srcdir"/rply-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/rply-$pkgver
- py.test
-
- cd "$srcdir"/rply-$pkgver-py2
- py.test2
-}
-
-package_python-rply() {
- depends=('python-appdirs')
-
- cd rply-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-rply() {
- depends=('python2-appdirs')
-
- cd rply-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-rply/repos/community-any/PKGBUILD (from rev 341627, python-rply/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 05:12:39 UTC (rev 341628)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-rply
+pkgname=('python-rply' 'python2-rply')
+pkgver=0.7.6
+pkgrel=1
+pkgdesc="A pure Python Lex/Yacc that works with RPython"
+arch=('any')
+license=('BSD')
+url="https://rply.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-appdirs' 'python2-appdirs')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/alex/rply/archive/v$pkgver.tar.gz")
+sha512sums=('b0edcff1ca32c465b404a0b2f548f90d312bcb98d3f4aa4a61fb44986c8aa7ecb6f046e72112e2c1f5654173bcfcc96ab4e0625632e908ccf17b43cdb3d8d99d')
+
+prepare() {
+ cp -a rply-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/rply-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/rply-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/rply-$pkgver
+ py.test
+
+ cd "$srcdir"/rply-$pkgver-py2
+ py.test2
+}
+
+package_python-rply() {
+ depends=('python-appdirs')
+
+ cd rply-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-rply() {
+ depends=('python2-appdirs')
+
+ cd rply-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list