[arch-commits] Commit in python-cssselect2/repos/community-staging-any (2 files)

Felix Yan felixonmars at archlinux.org
Thu Nov 12 10:21:57 UTC 2020


    Date: Thursday, November 12, 2020 @ 10:21:57
  Author: felixonmars
Revision: 751539

archrelease: copy trunk to community-staging-any

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

----------+
 PKGBUILD |   70 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 37 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-12 10:21:39 UTC (rev 751538)
+++ PKGBUILD	2020-11-12 10:21:57 UTC (rev 751539)
@@ -1,33 +0,0 @@
-# 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.3.0
-pkgrel=2
-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")
-sha512sums=('ae59314654d1c1ddf982b77521de7743d1496145a1367f51e02b6067d6757940e7ccb50b67959630f472972473a1e87cec8dfbc8eeb68ad5f16465a36b1447be')
-
-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
-}

Copied: python-cssselect2/repos/community-staging-any/PKGBUILD (from rev 751538, python-cssselect2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-12 10:21:57 UTC (rev 751539)
@@ -0,0 +1,37 @@
+# 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.4.1
+pkgrel=1
+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-cov' 'python-pytest-isort' 'python-pytest-runner')
+source=("https://pypi.io/packages/source/c/cssselect2/cssselect2-$pkgver.tar.gz")
+sha512sums=('feafeec3dbe3157ee452d94cd391a09cfcb48ca8bd1563c117c77c9ceb01102c4989611ede39e433ec25d3ddda98a94c4589ccb290b79c729683e673763b42ac')
+
+prepare() {
+  cd cssselect2-$pkgver
+  sed -i 's/--flake8//' pyproject.toml
+}
+
+build() {
+  cd cssselect2-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cssselect2-$pkgver
+  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