[arch-commits] Commit in python-w3lib/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Aug 29 19:08:20 UTC 2022
Date: Monday, August 29, 2022 @ 19:08:20
Author: felixonmars
Revision: 1285576
archrelease: copy trunk to community-any
Added:
python-w3lib/repos/community-any/PKGBUILD
(from rev 1285575, python-w3lib/trunk/PKGBUILD)
Deleted:
python-w3lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++++----------------------------------
1 file changed, 31 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 19:08:07 UTC (rev 1285575)
+++ PKGBUILD 2022-08-29 19:08:20 UTC (rev 1285576)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Bence Balint <balintbence1337 at gmail.com>
-
-pkgname=python-w3lib
-pkgver=1.22.0
-pkgrel=5
-pkgdesc="Library of web-related functions"
-arch=('any')
-license=('BSD')
-url="https://w3lib.readthedocs.org"
-depends=('python-six')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/scrapy/w3lib/archive/v$pkgver.tar.gz"
- 'mark-single-add_or_replace_parameter-test-as-xfail.patch::https://github.com/scrapy/w3lib/commit/fae6cc40e112cd13697cb0e8d79976f32c72491d.patch')
-sha512sums=('14e12726ca46a60d0a86f670f8b19415c2a6e304eeb9a152008a2d1ea81267ddc5ff36b47fdd308bb4764869ffff61e2c243c20cfe85f79a8eb7e31ba85d46dd'
- '82dd2127690a06910a472adf0f151fe0989c7031b456be474f4c810224b32b66dfe4da21936be1230921848dd923322adb6c52521d14aff6bb75966dd7dccdc8')
-
-prepare() {
- cd "$srcdir"/w3lib-$pkgver
- patch -p1 <"$srcdir"/mark-single-add_or_replace_parameter-test-as-xfail.patch
-}
-
-build() {
- cd "$srcdir"/w3lib-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/w3lib-$pkgver
- py.test
-}
-
-package() {
- cd w3lib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
Copied: python-w3lib/repos/community-any/PKGBUILD (from rev 1285575, python-w3lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-29 19:08:20 UTC (rev 1285576)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Bence Balint <balintbence1337 at gmail.com>
+
+pkgname=python-w3lib
+pkgver=2.0.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=('392ec7563e3e72bb8795c67e1378d6f8eb727e82e1a9bf57f03158a43a4d8a7cf3658ddd1e4b04c25e3cdf8ca22154a1bf273a4535e13bfd3ac4a24f7fac7642')
+
+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/
+}
More information about the arch-commits
mailing list