[arch-commits] Commit in python-w3lib/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Nov 13 16:33:46 UTC 2016
Date: Sunday, November 13, 2016 @ 16:33:46
Author: felixonmars
Revision: 195508
archrelease: copy trunk to community-any
Added:
python-w3lib/repos/community-any/PKGBUILD
(from rev 195507, python-w3lib/trunk/PKGBUILD)
Deleted:
python-w3lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-13 16:33:30 UTC (rev 195507)
+++ PKGBUILD 2016-11-13 16:33:46 UTC (rev 195508)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Bence Balint <balintbence1337 at gmail.com>
-
-pkgbase=python-w3lib
-pkgname=('python-w3lib' 'python2-w3lib')
-pkgver=1.15.0
-pkgrel=1
-pkgdesc="Library of web-related functions"
-arch=('any')
-license=('BSD')
-url="http://w3lib.readthedocs.org"
-makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git')
-checkdepends=('python-pytest' 'python2-pytest')
-source=("git+https://github.com/scrapy/w3lib.git#tag=v$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a w3lib{,-py2}
-}
-
-check() {
- cd "$srcdir"/w3lib
- py.test
-
- cd "$srcdir"/w3lib-py2
- py.test2
-}
-
-package_python-w3lib() {
- depends=('python-six')
-
- cd w3lib
- 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-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-w3lib/repos/community-any/PKGBUILD (from rev 195507, python-w3lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-13 16:33:46 UTC (rev 195508)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bence Balint <balintbence1337 at gmail.com>
+
+pkgbase=python-w3lib
+pkgname=('python-w3lib' 'python2-w3lib')
+pkgver=1.16.0
+pkgrel=1
+pkgdesc="Library of web-related functions"
+arch=('any')
+license=('BSD')
+url="http://w3lib.readthedocs.org"
+makedepends=('python-setuptools' 'python2-setuptools' 'python-six' 'python2-six' 'git')
+checkdepends=('python-pytest' 'python2-pytest')
+source=("git+https://github.com/scrapy/w3lib.git#tag=v$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a w3lib{,-py2}
+}
+
+check() {
+ cd "$srcdir"/w3lib
+ py.test
+
+ cd "$srcdir"/w3lib-py2
+ py.test2
+}
+
+package_python-w3lib() {
+ depends=('python-six')
+
+ cd w3lib
+ 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-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