[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Monday, November 16, 2020 @ 21:24:54 Author: felixonmars Revision: 401285 switch to a https url (FS#68194) Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-16 20:40:36 UTC (rev 401284) +++ PKGBUILD2020-11-16 21:24:54 UTC (rev 401285) @@ -12,7 +12,7 @@ url='https://www.dabeaz.com/ply/' license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') -source=("http://www.dabeaz.com/ply/ply-$pkgver.tar.gz"; +source=("https://pypi.io/packages/source/p/ply/ply-$pkgver.tar.gz"; LICENSE) sha512sums=('37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008' '5cea085a23ed260afc9084380c1d59e3942c2385089a8eb2391a89c85cde4df2ceb7eed21bb8c4d0cad5b78e59742da69e4c5c78fd0e223f5c99c56e9296a075')
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, May 16, 2020 @ 11:14:51 Author: felixonmars Revision: 384269 upgpkg: python-ply 3.11-5: reproducibility rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-05-16 11:14:13 UTC (rev 384268) +++ PKGBUILD2020-05-16 11:14:51 UTC (rev 384269) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.11 -pkgrel=4 +pkgrel=5 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='https://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Thursday, October 31, 2019 @ 17:42:44 Author: felixonmars Revision: 366261 Python 3.8 rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-31 17:41:50 UTC (rev 366260) +++ PKGBUILD2019-10-31 17:42:44 UTC (rev 366261) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.11 -pkgrel=3 +pkgrel=4 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='https://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Friday, October 25, 2019 @ 15:20:26 Author: felixonmars Revision: 365615 Python 3.8 rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-10-25 15:19:48 UTC (rev 365614) +++ PKGBUILD2019-10-25 15:20:26 UTC (rev 365615) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.11 -pkgrel=2 +pkgrel=3 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='https://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Sunday, May 26, 2019 @ 21:06:27 Author: arojas Revision: 354344 https Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-05-26 21:05:12 UTC (rev 354343) +++ PKGBUILD2019-05-26 21:06:27 UTC (rev 354344) @@ -9,10 +9,10 @@ pkgrel=2 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') -url='http://www.dabeaz.com/ply/' +url='https://www.dabeaz.com/ply/' license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') -source=("${url}ply-$pkgver.tar.gz" +source=("http://www.dabeaz.com/ply/ply-$pkgver.tar.gz"; LICENSE) sha512sums=('37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008' '5cea085a23ed260afc9084380c1d59e3942c2385089a8eb2391a89c85cde4df2ceb7eed21bb8c4d0cad5b78e59742da69e4c5c78fd0e223f5c99c56e9296a075')
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, June 30, 2018 @ 07:42:15 Author: felixonmars Revision: 327812 upgpkg: python-ply 3.11-2 Python 3.7 rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-06-30 07:40:58 UTC (rev 327811) +++ PKGBUILD2018-06-30 07:42:15 UTC (rev 327812) @@ -7,7 +7,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.11 -pkgrel=1 +pkgrel=2 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, February 17, 2018 @ 15:42:37 Author: felixonmars Revision: 317218 upgpkg: python-ply 3.11-1 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-02-17 14:50:54 UTC (rev 317217) +++ PKGBUILD2018-02-17 15:42:37 UTC (rev 317218) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.10 +pkgver=3.11 pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') @@ -15,8 +15,8 @@ makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz" LICENSE) -sha256sums=('96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb' -'87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf') +sha512sums=('37e39a4f930874933223be58a3da7f259e155b75135f1edd47069b3b40e5e96af883ebf1c8a1bbd32f914a9e92cfc12e29fec05cf61b518f46c1d37421b20008' + '5cea085a23ed260afc9084380c1d59e3942c2385089a8eb2391a89c85cde4df2ceb7eed21bb8c4d0cad5b78e59742da69e4c5c78fd0e223f5c99c56e9296a075') prepare() { cp -a ply-$pkgver{,-py2}
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, February 4, 2017 @ 07:31:32 Author: felixonmars Revision: 288013 upgpkg: python-ply 3.10-1 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2017-02-04 07:31:14 UTC (rev 288012) +++ PKGBUILD2017-02-04 07:31:32 UTC (rev 288013) @@ -6,8 +6,8 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.9 -pkgrel=2 +pkgver=3.10 +pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/' @@ -15,7 +15,7 @@ makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz" LICENSE) -sha256sums=('0d7e2940b9c57151392fceaa62b0865c45e06ce1e36687fd8d03f011a907f43e' +sha256sums=('96e94af7dd7031d8d6dd6e2a8e0de593b511c211a86e28a9c9621c275ac8bacb' '87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf') prepare() {
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, December 24, 2016 @ 10:30:46 Author: felixonmars Revision: 284571 upgpkg: python-ply 3.9-2 python 3.6 rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2016-12-24 10:28:12 UTC (rev 284570) +++ PKGBUILD2016-12-24 10:30:46 UTC (rev 284571) @@ -7,7 +7,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.9 -pkgrel=1 +pkgrel=2 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Wednesday, August 31, 2016 @ 15:33:35 Author: felixonmars Revision: 275605 upgpkg: python-ply 3.9-1 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-08-31 14:37:39 UTC (rev 275604) +++ PKGBUILD2016-08-31 15:33:35 UTC (rev 275605) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.8 +pkgver=3.9 pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') @@ -15,7 +15,7 @@ makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz" LICENSE) -sha256sums=('e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8' +sha256sums=('0d7e2940b9c57151392fceaa62b0865c45e06ce1e36687fd8d03f011a907f43e' '87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf') prepare() {
[arch-commits] Commit in python-ply/trunk (PKGBUILD python-3.5.patch)
Date: Saturday, October 3, 2015 @ 04:47:10 Author: fyan Revision: 248285 upgpkg: python-ply 3.8-1 Modified: python-ply/trunk/PKGBUILD Deleted: python-ply/trunk/python-3.5.patch --+ PKGBUILD | 15 +-- python-3.5.patch | 216 - 2 files changed, 5 insertions(+), 226 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-10-02 21:19:37 UTC (rev 248284) +++ PKGBUILD2015-10-03 02:47:10 UTC (rev 248285) @@ -6,8 +6,8 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.7 -pkgrel=2 +pkgver=3.8 +pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/' @@ -14,16 +14,11 @@ license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz" -LICENSE -python-3.5.patch) -sha256sums=('f85fb7b44c1c9a04873e6d76fa2c2eef43f2cfd81468aa714a9c63af7ae0af80' -'87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf' -'b7969d290e659d9756a2b0ad3b19481a4b32e1ec79590db1c7ab64bcc6519029') +LICENSE) +sha256sums=('e7d1bdff026beb159c9942f7a17e102c375638d9478a7ecd4cc0c76afd8de0b8' +'87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf') prepare() { - # https://github.com/dabeaz/ply/pull/78 - (cd ply-$pkgver; patch -p1 -i ../python-3.5.patch) - cp -a ply-$pkgver{,-py2} } Deleted: python-3.5.patch === --- python-3.5.patch2015-10-02 21:19:37 UTC (rev 248284) +++ python-3.5.patch2015-10-03 02:47:10 UTC (rev 248285) @@ -1,216 +0,0 @@ -From 1186219ceece79c1faa55a8dce31cfb235ccfb13 Mon Sep 17 00:00:00 2001 -From: Barry Warsaw -Date: Mon, 14 Sep 2015 15:38:42 -0400 -Subject: [PATCH] Fixes for Python 3.5 compatibility. - - test/testlex.py | 77 +++-- - 1 file changed, 47 insertions(+), 30 deletions(-) - -diff --git a/test/testlex.py b/test/testlex.py -index fd5002e..3880f6f 100755 a/test/testlex.py -+++ b/test/testlex.py -@@ -16,14 +16,22 @@ - - import ply.lex - --def make_pymodule_path(filename): -+try: -+from importlib.util import cache_from_source -+except ImportError: -+# Python 2.7, but we don't care. -+cache_from_source = None -+ -+ -+def make_pymodule_path(filename, optimization=None): - path = os.path.dirname(filename) - file = os.path.basename(filename) - mod, ext = os.path.splitext(file) - --if sys.hexversion >= 0x304: --import importlib.util --fullpath = importlib.util.cache_from_source(filename, ext=='.pyc') -+if sys.hexversion >= 0x305: -+fullpath = cache_from_source(filename, optimization=optimization) -+elif sys.hexversion >= 0x304: -+fullpath = cache_from_source(filename, ext=='.pyc') - elif sys.hexversion >= 0x302: - import imp - modname = mod+"."+imp.get_tag()+ext -@@ -32,11 +40,12 @@ def make_pymodule_path(filename): - fullpath = filename - return fullpath - --def pymodule_out_exists(filename): --return os.path.exists(make_pymodule_path(filename)) -+def pymodule_out_exists(filename, optimization=None): -+return os.path.exists(make_pymodule_path(filename, -+ optimization=optimization)) - --def pymodule_out_remove(filename): --os.remove(make_pymodule_path(filename)) -+def pymodule_out_remove(filename, optimization=None): -+os.remove(make_pymodule_path(filename, optimization=optimization)) - - def implementation(): - if platform.system().startswith("Java"): -@@ -156,8 +165,12 @@ def test_lex_ignore2(self): - def test_lex_re1(self): - self.assertRaises(SyntaxError,run_import,"lex_re1") - result = sys.stderr.getvalue() -+if sys.hexversion < 0x305: -+msg = "Invalid regular expression for rule 't_NUMBER'. unbalanced parenthesis\n" -+else: -+msg = "Invalid regular expression for rule 't_NUMBER'. missing ), unterminated subpattern at position 0" - self.assert_(check_expected(result, --"Invalid regular expression for rule 't_NUMBER'. unbalanced parenthesis\n", -+msg, - contains=True)) - - def test_lex_re2(self): -@@ -173,10 +186,15 @@ def test_lex_re3(self): - #"Invalid regular expression for rule 't_POUND'. unbalanced parenthesis\n" - #"Make sure '#' in rule 't_POUND' is escaped with '\\#'\n")) - -+if sys.hexversion < 0x305: -+msg = ("Invalid regular expression for rule 't_POUND'. unbalanced parenthesis\n" -+ "Make sure '#' in rule 't_POUND' is escaped with '\\#
[arch-commits] Commit in python-ply/trunk (PKGBUILD python-3.5.patch)
Date: Saturday, September 19, 2015 @ 12:33:06 Author: fyan Revision: 246598 upgpkg: python-ply 3.7-2 rebuild for python 3.5 Added: python-ply/trunk/python-3.5.patch Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD | 19 ++-- python-3.5.patch | 216 + 2 files changed, 228 insertions(+), 7 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-09-19 10:29:09 UTC (rev 246597) +++ PKGBUILD2015-09-19 10:33:06 UTC (rev 246598) @@ -14,20 +14,25 @@ license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz" -LICENSE) +LICENSE +python-3.5.patch) sha256sums=('f85fb7b44c1c9a04873e6d76fa2c2eef43f2cfd81468aa714a9c63af7ae0af80' -'87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf') +'87c20dd0a774f4d4ff837b4f1555f7eb1ed1b8dc1e3223cd105e5c1e282d62bf' +'b7969d290e659d9756a2b0ad3b19481a4b32e1ec79590db1c7ab64bcc6519029') prepare() { - cp -a ${pkgbase#python-}-$pkgver{,-py2} + # https://github.com/dabeaz/ply/pull/78 + (cd ply-$pkgver; patch -p1 -i ../python-3.5.patch) + + cp -a ply-$pkgver{,-py2} } check() { - cd "${pkgbase#python-}-$pkgver/test" + cd "ply-$pkgver/test" python testlex.py python testyacc.py - cd "$srcdir/${pkgbase#python-}-$pkgver-py2/test" + cd "$srcdir/ply-$pkgver-py2/test" python2 testlex.py python2 testyacc.py } @@ -35,7 +40,7 @@ package_python-ply() { depends=('python') - cd "${pkgbase#python-}-$pkgver" + cd "ply-$pkgver" python setup.py install --root="$pkgdir" install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" @@ -44,7 +49,7 @@ package_python2-ply() { depends=('python2') - cd "${pkgbase#python-}-$pkgver-py2" + cd "ply-$pkgver-py2" python2 setup.py install --root="$pkgdir" install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" Added: python-3.5.patch === --- python-3.5.patch(rev 0) +++ python-3.5.patch2015-09-19 10:33:06 UTC (rev 246598) @@ -0,0 +1,216 @@ +From 1186219ceece79c1faa55a8dce31cfb235ccfb13 Mon Sep 17 00:00:00 2001 +From: Barry Warsaw +Date: Mon, 14 Sep 2015 15:38:42 -0400 +Subject: [PATCH] Fixes for Python 3.5 compatibility. + +--- + test/testlex.py | 77 +++-- + 1 file changed, 47 insertions(+), 30 deletions(-) + +diff --git a/test/testlex.py b/test/testlex.py +index fd5002e..3880f6f 100755 +--- a/test/testlex.py b/test/testlex.py +@@ -16,14 +16,22 @@ + + import ply.lex + +-def make_pymodule_path(filename): ++try: ++from importlib.util import cache_from_source ++except ImportError: ++# Python 2.7, but we don't care. ++cache_from_source = None ++ ++ ++def make_pymodule_path(filename, optimization=None): + path = os.path.dirname(filename) + file = os.path.basename(filename) + mod, ext = os.path.splitext(file) + +-if sys.hexversion >= 0x304: +-import importlib.util +-fullpath = importlib.util.cache_from_source(filename, ext=='.pyc') ++if sys.hexversion >= 0x305: ++fullpath = cache_from_source(filename, optimization=optimization) ++elif sys.hexversion >= 0x304: ++fullpath = cache_from_source(filename, ext=='.pyc') + elif sys.hexversion >= 0x302: + import imp + modname = mod+"."+imp.get_tag()+ext +@@ -32,11 +40,12 @@ def make_pymodule_path(filename): + fullpath = filename + return fullpath + +-def pymodule_out_exists(filename): +-return os.path.exists(make_pymodule_path(filename)) ++def pymodule_out_exists(filename, optimization=None): ++return os.path.exists(make_pymodule_path(filename, ++ optimization=optimization)) + +-def pymodule_out_remove(filename): +-os.remove(make_pymodule_path(filename)) ++def pymodule_out_remove(filename, optimization=None): ++os.remove(make_pymodule_path(filename, optimization=optimization)) + + def implementation(): + if platform.system().startswith("Java"): +@@ -156,8 +165,12 @@ def test_lex_ignore2(self): + def test_lex_re1(self): + self.assertRaises(SyntaxError,run_import,"lex_re1") + result = sys.stderr.getvalue() ++if sys.hexversion < 0x305: ++msg = "Invalid regular expression for rule 't_NUMBER'. unbalanced parenthesis\n" ++else: ++msg = "Invalid regular expression for rule 't_NUMBER'. missing ), unterminated subpattern at position 0" + self.assert_(check_expected(result, +-"Invalid regular expression for rule 't_NUMBER'. unbalanced parenthesis\n", ++msg, + contains=
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Saturday, September 19, 2015 @ 12:28:25 Author: fyan Revision: 246595 upgpkg: python-ply 3.7-2 rebuild for python 3.5 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2015-09-19 10:27:59 UTC (rev 246594) +++ PKGBUILD2015-09-19 10:28:25 UTC (rev 246595) @@ -7,7 +7,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.7 -pkgrel=1 +pkgrel=2 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/'
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Monday, April 27, 2015 @ 05:30:34 Author: fyan Revision: 238050 upgpkg: python-ply 3.6-1 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-04-26 22:10:26 UTC (rev 238049) +++ PKGBUILD2015-04-27 03:30:34 UTC (rev 238050) @@ -6,7 +6,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.5 +pkgver=3.6 pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') @@ -14,7 +14,7 @@ license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz") -sha256sums=('9c649e4791dec47e87ccd157866a4666243834403eb38af5b188e602b3d79291') +sha256sums=('61367b9eb2f4b819f69ea116750305270f1df8859992c9e356d6a851f25a4b47') prepare() { cp -a ${pkgbase#python-}-$pkgver{,-py2}
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Thursday, April 23, 2015 @ 05:19:05 Author: fyan Revision: 237942 upgpkg: python-ply 3.5-1 Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD | 18 +- 1 file changed, 5 insertions(+), 13 deletions(-) Modified: PKGBUILD === --- PKGBUILD2015-04-23 02:57:47 UTC (rev 237941) +++ PKGBUILD2015-04-23 03:19:05 UTC (rev 237942) @@ -1,5 +1,5 @@ # $Id$ -# Maintainer: Felix Yan +# Maintainer: Felix Yan # Contributor: Alexander Rødseth # Contributor: Marcin "avalan" Falkiewicz # Contributor: C Anthony Risinger @@ -6,8 +6,8 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) -pkgver=3.4 -pkgrel=4 +pkgver=3.5 +pkgrel=1 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/' @@ -14,10 +14,10 @@ license=('BSD') makedepends=('python-setuptools' 'python2-setuptools') source=("${url}ply-$pkgver.tar.gz") -sha256sums=('af435f11b7bdd69da5ffbc3fecb8d70a7073ec952e101764c88720cdefb2546b') +sha256sums=('9c649e4791dec47e87ccd157866a4666243834403eb38af5b188e602b3d79291') prepare() { - cp -r ${pkgbase#python-}-$pkgver{,-py2} + cp -a ${pkgbase#python-}-$pkgver{,-py2} } package_python-ply() { @@ -24,11 +24,7 @@ depends=('python') cd "${pkgbase#python-}-$pkgver" - python setup.py install --root="$pkgdir" - - install -d "$pkgdir/usr/share/licenses/$pkgname" - head -n30 README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } package_python2-ply() { @@ -35,11 +31,7 @@ depends=('python2') cd "${pkgbase#python-}-$pkgver-py2" - python2 setup.py install --root="$pkgdir" - - install -d "$pkgdir/usr/share/licenses/$pkgname" - head -n30 README > "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-ply/trunk (PKGBUILD)
Date: Monday, March 17, 2014 @ 07:22:11 Author: fyan Revision: 208026 upgpkg: python-ply 3.4-4 - python 3.4 rebuild Modified: python-ply/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2014-03-17 06:20:59 UTC (rev 208025) +++ PKGBUILD2014-03-17 06:22:11 UTC (rev 208026) @@ -7,7 +7,7 @@ pkgbase=python-ply pkgname=(python-ply python2-ply) pkgver=3.4 -pkgrel=3 +pkgrel=4 pkgdesc='Implementation of lex and yacc parsing tools' arch=('any') url='http://www.dabeaz.com/ply/'