[arch-commits] Commit in python-parsel/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Dec 30 08:56:58 UTC 2017


    Date: Saturday, December 30, 2017 @ 08:56:57
  Author: felixonmars
Revision: 276972

archrelease: copy trunk to community-any

Added:
  python-parsel/repos/community-any/PKGBUILD
    (from rev 276971, python-parsel/trunk/PKGBUILD)
Deleted:
  python-parsel/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  104 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-30 08:56:33 UTC (rev 276971)
+++ PKGBUILD	2017-12-30 08:56:57 UTC (rev 276972)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-parsel
-pkgname=('python-parsel' 'python2-parsel')
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"
-arch=('any')
-license=('BSD')
-url="https://github.com/scrapy/parsel"
-makedepends=('python-cssselect' 'python2-cssselect' 'python-lxml' 'python2-lxml'
-             'python-pytest-runner' 'python2-pytest-runner' 'python-six' 'python2-six'
-             'python-w3lib' 'python2-w3lib')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz")
-sha512sums=('526e4502eb4e9301917793b2153e56d85841f6d28b3f7af48bf85e602246f7ce1bec069494577795937b6f0ce66595ab22184d55df2f044084d1f0cd684b89fa')
-
-prepare() {
-  cp -a parsel-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/parsel-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/parsel-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/parsel-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/parsel-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-parsel() {
-  depends=('python-cssselect' 'python-lxml' 'python-six' 'python-w3lib')
-
-  cd parsel-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-parsel() {
-  depends=('python2-cssselect' 'python2-lxml' 'python2-six' 'python2-w3lib')
-
-  cd parsel-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-parsel/repos/community-any/PKGBUILD (from rev 276971, python-parsel/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-12-30 08:56:57 UTC (rev 276972)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-parsel
+pkgname=('python-parsel' 'python2-parsel')
+pkgver=1.3.1
+pkgrel=1
+pkgdesc="Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"
+arch=('any')
+license=('BSD')
+url="https://github.com/scrapy/parsel"
+makedepends=('python-cssselect' 'python2-cssselect' 'python-lxml' 'python2-lxml'
+             'python-pytest-runner' 'python2-pytest-runner' 'python-six' 'python2-six'
+             'python-w3lib' 'python2-w3lib')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/scrapy/parsel/archive/v$pkgver.tar.gz")
+sha512sums=('ddb7c1b5221e3399c4d2fb6fec7695f8303be5f4f7aa45f5bb246f072354543023d9b950b933f47b9c3c3f547e6fd2e3b005039f7b39650fe9a3c54489c7f3f0')
+
+prepare() {
+  cp -a parsel-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/parsel-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/parsel-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/parsel-$pkgver
+  python setup.py pytest
+
+  cd "$srcdir"/parsel-$pkgver-py2
+  python2 setup.py pytest
+}
+
+package_python-parsel() {
+  depends=('python-cssselect' 'python-lxml' 'python-six' 'python-w3lib')
+
+  cd parsel-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-parsel() {
+  depends=('python2-cssselect' 'python2-lxml' 'python2-six' 'python2-w3lib')
+
+  cd parsel-$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