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

Felix Yan felixonmars at archlinux.org
Sun Mar 17 10:28:49 UTC 2019


    Date: Sunday, March 17, 2019 @ 10:28:48
  Author: felixonmars
Revision: 442339

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   88 ++++++++++++++++++++++---------------------------------------
 1 file changed, 33 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-17 10:28:30 UTC (rev 442338)
+++ PKGBUILD	2019-03-17 10:28:48 UTC (rev 442339)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-cssselect2
-pkgname=(python-cssselect2 python2-cssselect2)
-pkgver=0.2.1
-pkgrel=2
-pkgdesc="CSS selectors for Python ElementTree"
-url="https://pypi.org/project/cssselect2/"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-tinycss2' 'python2-tinycss2')
-checkdepends=('python-pytest-flake8' 'python2-pytest-flake8' 'python-pytest-cov'
-              'python2-pytest-cov' 'python-pytest-isort' 'python2-pytest-isort'
-              'python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz")
-md5sums=('bfa61b1e917d1e93ebccf0f27903087d')
-
-prepare() {
-  cp -a cssselect2-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/cssselect2-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/cssselect2-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/cssselect2-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/cssselect2-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-cssselect2() {
-  depends=('python-tinycss2')
-
-  cd cssselect2-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-cssselect2() {
-  depends=('python2-tinycss2')
-
-  cd cssselect2-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-cssselect2/repos/community-any/PKGBUILD (from rev 442338, python-cssselect2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-17 10:28:48 UTC (rev 442339)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-cssselect2
+pkgver=0.2.1
+pkgrel=3
+pkgdesc="CSS selectors for Python ElementTree"
+url="https://pypi.org/project/cssselect2/"
+license=('BSD')
+arch=('any')
+depends=('python-tinycss2')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-flake8' 'python-pytest-cov' 'python-pytest-isort'
+              'python-pytest-runner')
+source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz")
+md5sums=('bfa61b1e917d1e93ebccf0f27903087d')
+
+build() {
+  cd cssselect2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cssselect2-$pkgver
+  python setup.py pytest
+}
+
+package() {
+  cd cssselect2-$pkgver
+  python3 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