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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 15:39:44
  Author: felixonmars
Revision: 747065

upgpkg: python-http-parser 0.9.0-3: Python 3.9 rebuild

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-11-09 15:39:43 UTC (rev 747064)
+++ PKGBUILD2020-11-09 15:39:44 UTC (rev 747065)
@@ -2,7 +2,7 @@
 
 pkgname=python-http-parser
 pkgver=0.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')


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

2020-04-23 Thread Felix Yan via arch-commits
Date: Thursday, April 23, 2020 @ 22:56:42
  Author: felixonmars
Revision: 618394

upgpkg: python-http-parser 0.9.0-1

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |   34 +-
 1 file changed, 17 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2020-04-23 22:56:29 UTC (rev 618393)
+++ PKGBUILD2020-04-23 22:56:42 UTC (rev 618394)
@@ -2,36 +2,36 @@
 
 pkgbase=python-http-parser
 pkgname=('python-http-parser' 'python2-http-parser')
-pkgver=0.8.3
-pkgrel=5
+pkgver=0.9.0
+pkgrel=1
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')
 url="https://github.com/benoitc/http-parser;
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2')
 checkdepends=('python-pytest' 'python2-pytest')
-source=("git+https://github.com/benoitc/http-parser.git#tag=$pkgver;)
-sha512sums=('SKIP')
+source=("https://github.com/benoitc/http-parser/archive/$pkgver/$pkgbase-$pkgver.tar.gz;)
+sha512sums=('75e51bef43d9d7698aad69f8bfe651e24784b97603cac55f33bf4c12c86792c8c71d6206f31847d052e4d8621a5ea65a7b34eca5bebdb8189f58e6d98d33139d')
 
 prepare() {
-  rm http-parser/http_parser/parser.c
-  cp -a http-parser{,-py2}
+  rm http-parser-$pkgver/http_parser/parser.c
+  cp -a http-parser-$pkgver{,-py2}
 }
 
 build() {
-  cd "$srcdir/http-parser"
+  cd "$srcdir"/http-parser-$pkgver
   python setup.py build
 
-  cd "$srcdir/http-parser-py2"
+  cd "$srcdir"/http-parser-$pkgver-py2
   python2 setup.py build
 }
 
 check() {
-  cd "$srcdir/http-parser"
+  cd "$srcdir"/http-parser-$pkgver
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.8:$PYTHONPATH" \
   py.test testing/
 
-  cd "$srcdir/http-parser-py2"
+  cd "$srcdir"/http-parser-$pkgver-py2
   PYTHONPATH="$PWD/build/lib.linux-$CARCH-2.7:$PYTHONPATH" \
   py.test2 testing/
 }
@@ -39,15 +39,15 @@
 package_python-http-parser() {
   depends=('python')
 
-  cd http-parser
-  python setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd http-parser-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }
 
 package_python2-http-parser() {
   depends=('python2')
 
-  cd http-parser-py2
-  python2 setup.py install --root="${pkgdir}" --optimize=1
-  install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  cd http-parser-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }


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

2019-11-03 Thread Felix Yan via arch-commits
Date: Monday, November 4, 2019 @ 07:45:50
  Author: felixonmars
Revision: 523568

Python 3.8 rebuild

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-11-04 07:45:30 UTC (rev 523567)
+++ PKGBUILD2019-11-04 07:45:50 UTC (rev 523568)
@@ -3,7 +3,7 @@
 pkgbase=python-http-parser
 pkgname=('python-http-parser' 'python2-http-parser')
 pkgver=0.8.3
-pkgrel=4
+pkgrel=5
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')


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

2019-10-26 Thread Felix Yan via arch-commits
Date: Saturday, October 26, 2019 @ 20:55:29
  Author: felixonmars
Revision: 520675

Python 3.8 rebuild

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-10-26 20:55:27 UTC (rev 520674)
+++ PKGBUILD2019-10-26 20:55:29 UTC (rev 520675)
@@ -3,7 +3,7 @@
 pkgbase=python-http-parser
 pkgname=('python-http-parser' 'python2-http-parser')
 pkgver=0.8.3
-pkgrel=3
+pkgrel=4
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')


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

2019-06-18 Thread Antonio Rojas via arch-commits
Date: Tuesday, June 18, 2019 @ 20:21:09
  Author: arojas
Revision: 482193

https

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: PKGBUILD
===
--- PKGBUILD2019-06-18 20:20:49 UTC (rev 482192)
+++ PKGBUILD2019-06-18 20:21:09 UTC (rev 482193)
@@ -7,7 +7,7 @@
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')
-url="http://github.com/benoitc/http-parser;
+url="https://github.com/benoitc/http-parser;
 makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'git')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("git+https://github.com/benoitc/http-parser.git#tag=$pkgver;)


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

2018-07-02 Thread Eli Schwartz via arch-commits
Date: Monday, July 2, 2018 @ 13:22:36
  Author: eschwartz
Revision: 349723

upgpkg: python-http-parser 0.8.3-3

python 3.7 rebuild
make cython actually run, thus fixing build errors on python 3.7

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2018-07-02 13:20:59 UTC (rev 349722)
+++ PKGBUILD2018-07-02 13:22:36 UTC (rev 349723)
@@ -4,17 +4,18 @@
 pkgbase=python-http-parser
 pkgname=('python-http-parser' 'python2-http-parser')
 pkgver=0.8.3
-pkgrel=2
+pkgrel=3
 pkgdesc="HTTP request/response parser for Python"
 arch=('x86_64')
 license=('MIT')
 url="http://github.com/benoitc/http-parser;
-makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'cython2' 'git')
+makedepends=('python-setuptools' 'python2-setuptools' 'cython' 'git')
 checkdepends=('python-pytest' 'python2-pytest')
 source=("git+https://github.com/benoitc/http-parser.git#tag=$pkgver;)
 sha512sums=('SKIP')
 
 prepare() {
+  rm http-parser/http_parser/parser.c
   cp -a http-parser{,-py2}
 }
 
@@ -28,7 +29,7 @@
 
 check() {
   cd "$srcdir/http-parser"
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" \
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.7:$PYTHONPATH" \
   py.test testing/
 
   cd "$srcdir/http-parser-py2"


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

2016-12-24 Thread Felix Yan
Date: Sunday, December 25, 2016 @ 02:49:50
  Author: felixonmars
Revision: 201801

upgpkg: python-http-parser 0.8.3-2

python 3.6 rebuild

Modified:
  python-http-parser/trunk/PKGBUILD

--+
 PKGBUILD |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===
--- PKGBUILD2016-12-25 02:45:59 UTC (rev 201800)
+++ PKGBUILD2016-12-25 02:49:50 UTC (rev 201801)
@@ -4,7 +4,7 @@
 pkgbase=python-http-parser
 pkgname=('python-http-parser' 'python2-http-parser')
 pkgver=0.8.3
-pkgrel=1
+pkgrel=2
 pkgdesc="HTTP request/response parser for Python"
 arch=('i686' 'x86_64')
 license=('MIT')
@@ -28,7 +28,7 @@
 
 check() {
   cd "$srcdir/http-parser"
-  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.5:$PYTHONPATH" \
+  PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.6:$PYTHONPATH" \
   py.test testing/
 
   cd "$srcdir/http-parser-py2"