* update python-jaraco.collections to 5.0.1-1
This commit is contained in:
parent
d845ebe580
commit
a9ad03fadf
22
python/python-jaraco.collections/.SRCINFO
Normal file
22
python/python-jaraco.collections/.SRCINFO
Normal file
@ -0,0 +1,22 @@
|
||||
pkgbase = python-jaraco.collections
|
||||
pkgdesc = Models and classes to supplement the stdlib 'collections' module.
|
||||
pkgver = 5.0.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/jaraco/jaraco.collections
|
||||
arch = any
|
||||
license = MIT
|
||||
checkdepends = python-pytest
|
||||
checkdepends = python-pytest-enabler
|
||||
checkdepends = python-pytest-mypy
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-setuptools-scm
|
||||
makedepends = python-wheel
|
||||
depends = python
|
||||
depends = python-jaraco.text
|
||||
conflicts = python-jaraco
|
||||
replaces = python-jaraco
|
||||
source = jaraco.collections-5.0.1.tar.gz::https://github.com/jaraco/jaraco.collections/archive/refs/tags/v5.0.1.tar.gz
|
||||
sha512sums = b41aa4ed1544e35def2f882b3257bc5dcbb5163d8e3d4496a33b04aac0a854a503a959bccb397fdebf98471bf4525990728e8851a59b07458427c9d0c5aa72ef
|
||||
|
||||
pkgname = python-jaraco.collections
|
3
python/python-jaraco.collections/.nvchecker.toml
Normal file
3
python/python-jaraco.collections/.nvchecker.toml
Normal file
@ -0,0 +1,3 @@
|
||||
["python-jaraco.collections"]
|
||||
source = "pypi"
|
||||
pypi = "jaraco.collections"
|
@ -5,8 +5,8 @@
|
||||
|
||||
pkgname=python-jaraco.collections
|
||||
_name="${pkgname#python-}"
|
||||
pkgver=5.0.0
|
||||
pkgrel=2
|
||||
pkgver=5.0.1
|
||||
pkgrel=1
|
||||
pkgdesc="Models and classes to supplement the stdlib 'collections' module."
|
||||
arch=(any)
|
||||
url='https://github.com/jaraco/jaraco.collections'
|
||||
@ -17,10 +17,10 @@ checkdepends=('python-pytest' 'python-pytest-enabler' 'python-pytest-mypy')
|
||||
conflicts=('python-jaraco')
|
||||
replaces=('python-jaraco')
|
||||
source=("$_name-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
||||
sha512sums=('0fc71f4bf993c7591c74b585b9b70ef2ee664794db614f0520be11eb40928812d5e7870316bce55f42f32ad72dfc24c8802050bac51e395548b34e543d6b5a79')
|
||||
sha512sums=('b41aa4ed1544e35def2f882b3257bc5dcbb5163d8e3d4496a33b04aac0a854a503a959bccb397fdebf98471bf4525990728e8851a59b07458427c9d0c5aa72ef')
|
||||
|
||||
build() {
|
||||
cd $_name-$pkgver
|
||||
cd "$_name"-$pkgver
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION=$pkgver python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
@ -29,14 +29,19 @@ check() {
|
||||
-vv
|
||||
)
|
||||
|
||||
cd $_name-$pkgver
|
||||
cd "$_name"-$pkgver
|
||||
python -m pytest "${pytest_options[@]}"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
cd "$_name"-$pkgver
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
|
||||
|
||||
# Symlink license file
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||
ln -s "$site_packages"/"$_name"-$pkgver.dist-info/LICENSE \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
||||
|
Loading…
x
Reference in New Issue
Block a user