Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / 
python-itemloaders


Commits:
479f9b07 by Felix Yan at 2024-05-04T16:37:18+00:00
upgpkg: 1.2.0-1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,17 +1,18 @@
 pkgbase = python-itemloaders
        pkgdesc = Library to populate items using XPath and CSS with a 
convenient API
-       pkgver = 1.1.0
-       pkgrel = 2
+       pkgver = 1.2.0
+       pkgrel = 1
        url = https://github.com/scrapy/itemloaders
        arch = any
        license = BSD
        checkdepends = python-pytest
+       makedepends = git
        makedepends = python-setuptools
        depends = python-w3lib
        depends = python-parsel
        depends = python-jmespath
        depends = python-itemadapter
-       source = 
https://github.com/scrapy/itemloaders/archive/v1.1.0/python-itemloaders-1.1.0.tar.gz
-       sha512sums = 
4a52e75405409124a3c1f7e7079fedf36e34a76877b04d754006743a2f403602de9b463e1f338bead3a68a0c1cf32f2a50b4cbe4cc57a10539ec529a93b81607
+       source = git+https://github.com/scrapy/itemloaders.git#tag=v1.2.0
+       sha512sums = 
7f9105d0f7b342b212e61a38833f1d75a281af7a2100d1a870270ca66e80cff063a87e8821dcf5ed391d41cf1187241ca80ddff765e30d68ec8fb2982345bea5
 
 pkgname = python-itemloaders


=====================================
PKGBUILD
=====================================
@@ -1,31 +1,30 @@
 # Maintainer: Felix Yan <felixonm...@archlinux.org>
 
 pkgname=python-itemloaders
-pkgver=1.1.0
-pkgrel=2
+pkgver=1.2.0
+pkgrel=1
 pkgdesc="Library to populate items using XPath and CSS with a convenient API"
 url="https://github.com/scrapy/itemloaders";
 license=('BSD')
 arch=('any')
 depends=('python-w3lib' 'python-parsel' 'python-jmespath' 'python-itemadapter')
-makedepends=('python-setuptools')
+makedepends=('git' 'python-setuptools')
 checkdepends=('python-pytest')
-source=("https://github.com/scrapy/itemloaders/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
-sha512sums=('4a52e75405409124a3c1f7e7079fedf36e34a76877b04d754006743a2f403602de9b463e1f338bead3a68a0c1cf32f2a50b4cbe4cc57a10539ec529a93b81607')
+source=("git+https://github.com/scrapy/itemloaders.git#tag=v$pkgver";)
+sha512sums=('7f9105d0f7b342b212e61a38833f1d75a281af7a2100d1a870270ca66e80cff063a87e8821dcf5ed391d41cf1187241ca80ddff765e30d68ec8fb2982345bea5')
 
 build() {
-  cd itemloaders-$pkgver
+  cd itemloaders
   python setup.py build
 }
 
 check() {
-  cd itemloaders-$pkgver
+  cd itemloaders
   python -m pytest
 }
 
 package() {
-  cd itemloaders-$pkgver
+  cd itemloaders
   python setup.py install --root="$pkgdir" --optimize=1
-
   install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-itemloaders/-/commit/479f9b07ba7bab02195509ae1cf4750e34e1df93

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-itemloaders/-/commit/479f9b07ba7bab02195509ae1cf4750e34e1df93
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to