[arch-commits] Commit in python-w3lib/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 16:45:10 UTC 2019
Date: Thursday, October 31, 2019 @ 16:45:10
Author: foutrelis
Revision: 521147
archrelease: copy trunk to community-staging-any
Added:
python-w3lib/repos/community-staging-any/PKGBUILD
(from rev 521146, python-w3lib/trunk/PKGBUILD)
Deleted:
python-w3lib/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 102 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 51 insertions(+), 51 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:45:06 UTC (rev 521146)
+++ PKGBUILD 2019-10-31 16:45:10 UTC (rev 521147)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Bence Balint <balintbence1337 at gmail.com>
-
-pkgbase=python-w3lib
-pkgname=('python-w3lib' 'python2-w3lib')
-pkgver=1.21.0
-pkgrel=2
-pkgdesc="Library of web-related functions"
-arch=('any')
-license=('BSD')
-url="https://w3lib.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/scrapy/w3lib/archive/v$pkgver.tar.gz")
-sha512sums=('7b55e31e3a942ef1ba3db0ac4d325d7a547ed45764b22d91503358d65dbef6e84abe9777899b3a966882013f1d02314b990078849c68c2e249a41e32025bb92e')
-
-prepare() {
- cp -a w3lib-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/w3lib-$pkgver
- python setup.py build
-
- cd "$srcdir"/w3lib-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/w3lib-$pkgver
- py.test
-
- cd "$srcdir"/w3lib-$pkgver-py2
- py.test2
-}
-
-package_python-w3lib() {
- depends=('python-six')
-
- cd w3lib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-w3lib() {
- depends=('python2-six')
-
- cd w3lib-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-w3lib/repos/community-staging-any/PKGBUILD (from rev 521146, python-w3lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:45:10 UTC (rev 521147)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bence Balint <balintbence1337 at gmail.com>
+
+pkgbase=python-w3lib
+pkgname=('python-w3lib' 'python2-w3lib')
+pkgver=1.21.0
+pkgrel=3
+pkgdesc="Library of web-related functions"
+arch=('any')
+license=('BSD')
+url="https://w3lib.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/scrapy/w3lib/archive/v$pkgver.tar.gz")
+sha512sums=('7b55e31e3a942ef1ba3db0ac4d325d7a547ed45764b22d91503358d65dbef6e84abe9777899b3a966882013f1d02314b990078849c68c2e249a41e32025bb92e')
+
+prepare() {
+ cp -a w3lib-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/w3lib-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/w3lib-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/w3lib-$pkgver
+ py.test
+
+ cd "$srcdir"/w3lib-$pkgver-py2
+ py.test2
+}
+
+package_python-w3lib() {
+ depends=('python-six')
+
+ cd w3lib-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-w3lib() {
+ depends=('python2-six')
+
+ cd w3lib-$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