Balló György pushed to branch main at Arch Linux / Packaging / Packages /
python-readability-lxml
Commits:
64024046 by Balló György at 2024-08-01T12:01:52+02:00
upgpkg: 0.8.1-9: Add missing dependency on python-lxml-html-clean, switch to
git source, specify SPDX license
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,18 +1,21 @@
pkgbase = python-readability-lxml
pkgdesc = Fast html to text parser (article readability tool) python
library
pkgver = 0.8.1
- pkgrel = 8
+ pkgrel = 9
url = https://github.com/buriy/python-readability
arch = any
- license = Apache
+ license = Apache-2.0
+ makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
+ depends = python
depends = python-chardet
- depends = python-lxml
depends = python-cssselect
- source =
https://github.com/buriy/python-readability/archive/v0.8.1/python-readability-lxml-0.8.1.tar.gz
- sha256sums =
e6650d608174fde8e9feb07cb86c16f5d42e09e0dd446093d1b529d55f2b939a
+ depends = python-lxml
+ depends = python-lxml-html-clean
+ source = git+https://github.com/buriy/python-readability.git#tag=v0.8.1
+ b2sums =
a1b05013ff0c7103e2d49ed748b338d38d1e7f5112e8f79442df87c56f38053fe79108149b9d4798ffba84df1275e38ecde515a21096b71cc6d2a1f724a195b2
pkgname = python-readability-lxml
=====================================
PKGBUILD
=====================================
@@ -4,22 +4,34 @@
_pkgname=python-readability
pkgname=python-readability-lxml
pkgver=0.8.1
-pkgrel=8
+pkgrel=9
pkgdesc='Fast html to text parser (article readability tool) python library'
-arch=('any')
+arch=(any)
url='https://github.com/buriy/python-readability'
-license=('Apache')
-depends=('python-chardet' 'python-lxml' 'python-cssselect')
-makedepends=('python-build' 'python-installer' 'python-setuptools'
'python-wheel')
-source=("https://github.com/buriy/$_pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('e6650d608174fde8e9feb07cb86c16f5d42e09e0dd446093d1b529d55f2b939a')
+license=(Apache-2.0)
+depends=(
+ python
+ python-chardet
+ python-cssselect
+ python-lxml
+ python-lxml-html-clean
+)
+makedepends=(
+ git
+ python-build
+ python-installer
+ python-setuptools
+ python-wheel
+)
+source=("git+https://github.com/buriy/python-readability.git#tag=v$pkgver")
+b2sums=(a1b05013ff0c7103e2d49ed748b338d38d1e7f5112e8f79442df87c56f38053fe79108149b9d4798ffba84df1275e38ecde515a21096b71cc6d2a1f724a195b2)
build() {
- cd $_pkgname-$pkgver
+ cd $_pkgname
python -m build --wheel --no-isolation
}
package() {
- cd $_pkgname-$pkgver
+ cd $_pkgname
python -m installer --destdir="$pkgdir" dist/*.whl
}
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-readability-lxml/-/commit/64024046caceeeb7569a479804bb74d0376869d5
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-readability-lxml/-/commit/64024046caceeeb7569a479804bb74d0376869d5
You're receiving this email because of your account on gitlab.archlinux.org.