Date: Tuesday, November 29, 2022 @ 07:19:23
Author: felixonmars
Revision: 1354988
archrelease: copy trunk to community-any
Added:
python-w3lib/repos/community-any/PKGBUILD
(from rev 1354987, python-w3lib/trunk/PKGBUILD)
Deleted:
python-w3lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 62 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 31 insertions(+), 31 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-29 07:19:13 UTC (rev 1354987)
+++ PKGBUILD 2022-11-29 07:19:23 UTC (rev 1354988)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Bence Balint <[email protected]>
-
-pkgname=python-w3lib
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="Library of web-related functions"
-arch=('any')
-license=('BSD')
-url="https://github.com/scrapy/w3lib"
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/w3lib/archive/v$pkgver.tar.gz")
-sha512sums=('c4c1a00ad6d0c8f9a3a3a6581fb513328f89bfd9f797bf6289133580581c2579b04da8a2c815d14214bc0dbc87839de3d9f7949ad9398402312d3c522361414e')
-
-build() {
- cd w3lib-$pkgver
- python setup.py build
-}
-
-check() {
- cd w3lib-$pkgver
- pytest
-}
-
-package() {
- cd w3lib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-w3lib/repos/community-any/PKGBUILD (from rev 1354987,
python-w3lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-29 07:19:23 UTC (rev 1354988)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Bence Balint <[email protected]>
+
+pkgname=python-w3lib
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="Library of web-related functions"
+arch=('any')
+license=('BSD')
+url="https://github.com/scrapy/w3lib"
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/scrapy/w3lib/archive/v$pkgver.tar.gz")
+sha512sums=('a511711e8be7669e80e82bd3ccafa507a57a6f7755af4fab95bd27d3987507cc6ec73497af76ac316831e6f43d103aa98b71388452a83fc01ddbba1f40414bf3')
+
+build() {
+ cd w3lib-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd w3lib-$pkgver
+ pytest
+}
+
+package() {
+ cd w3lib-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}