Date: Thursday, May 11, 2023 @ 21:08:19
Author: grawlinson
Revision: 1460000
archrelease: copy trunk to community-any
Added:
python-css-parser/repos/community-any/PKGBUILD
(from rev 1459999, python-css-parser/trunk/PKGBUILD)
python-css-parser/repos/community-any/keys/
Deleted:
python-css-parser/repos/community-any/PKGBUILD
python-css-parser/repos/community-any/keys/
----------+
PKGBUILD | 82 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 46 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-05-11 21:07:29 UTC (rev 1459999)
+++ PKGBUILD 2023-05-11 21:08:19 UTC (rev 1460000)
@@ -1,36 +0,0 @@
-# Maintainer: Eli Schwartz <[email protected]>
-
-_pkgname=css-parser
-pkgname=python-css-parser
-pkgver=1.0.8
-pkgrel=3
-pkgdesc="A CSS Cascading Style Sheets library for Python"
-arch=('any')
-url="https://github.com/ebook-utils/${_pkgname}"
-license=('LGPL')
-depends=('python')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('1b22665a172b8a29e277217f39bac1512867dbd5acdfe37ddf078eab71452467adc3dcdac68e424df32cc204f3e55da45d31663f8e7aa143c0243818df32487a'
- 'SKIP')
-validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New
longer key) <[email protected]>
-
-build() {
- cd ${_pkgname}-${pkgver}
-
- python -m build --wheel --no-isolation
-}
-
-check() {
- cd ${_pkgname}-${pkgver}
-
- PYTHONPATH="$PWD"/src \
- pytest -v
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
-
- python -m installer --destdir="${pkgdir}" dist/*.whl
-}
Copied: python-css-parser/repos/community-any/PKGBUILD (from rev 1459999,
python-css-parser/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-05-11 21:08:19 UTC (rev 1460000)
@@ -0,0 +1,46 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+pkgname=python-css-parser
+pkgver=1.0.9
+pkgrel=1
+pkgdesc='CSS related utilities for Python'
+arch=('any')
+url='https://github.com/ebook-utils/css-parser'
+license=('LGPL')
+depends=('python')
+makedepends=(
+ 'git'
+ 'python-build'
+ 'python-installer'
+ 'python-setuptools'
+ 'python-wheel'
+)
+checkdepends=('python-pytest')
+_commit='f192f090863b8bf596038b22b22c02a3afc4cef2'
+source=("$pkgname::git+$url#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd "$pkgname"
+
+ python -m build --wheel --no-isolation
+}
+
+check() {
+ cd "$pkgname"
+
+ PYTHONPATH="$(pwd)/build/lib" pytest -v
+}
+
+package() {
+ cd "$pkgname"
+
+ python -m installer --destdir="$pkgdir" dist/*.whl
+}