Compare commits

...

3 Commits

Author SHA1 Message Date
Cedric Girard 37f08502e9 upgpkg: python-string-utils 1.0.0-1
adopted and updated
2023-05-24 16:25:31 +02:00
Cedric Girard cce713e38e Add 'python-string-utils/' from commit '1cf94c0c1006cc390897b0c9b036fb3108000961'
git-subtree-dir: python-string-utils
git-subtree-mainline: b887c67fd6
git-subtree-split: 1cf94c0c10
2023-05-24 16:09:03 +02:00
Giacomo Longo 1cf94c0c10 python-string-utils - Version 0.6.0-1 2018-08-26 00:16:13 +02:00
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,16 @@
pkgbase = python-string-utils
pkgdesc = Utility functions for strings validation and manipulation
pkgver = 1.0.0
pkgrel = 1
url = https://pypi.org/project/python-string-utils/
arch = any
license = APACHE
makedepends = python-build
makedepends = python-installer
makedepends = python-wheel
makedepends = python-setuptools
depends = python
source = https://files.pythonhosted.org/packages/source/p/python-string-utils/python-string-utils-1.0.0.tar.gz
sha256sums = dcf9060b03f07647c0a603408dc8b03f807f3b54a05c6e19eb14460256fac0cb
pkgname = python-string-utils

View File

@ -0,0 +1,25 @@
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
# Contributor: Giacomo Longo <gabibbo97@gmail.com>
pkgname=python-string-utils
pkgver=1.0.0
pkgrel=1
pkgdesc="Utility functions for strings validation and manipulation"
url="https://pypi.org/project/python-string-utils/"
license=('APACHE')
arch=('any')
makedepends=(python-build python-installer python-wheel python-setuptools)
depends=('python')
source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha256sums=('dcf9060b03f07647c0a603408dc8b03f807f3b54a05c6e19eb14460256fac0cb')
build() {
cd "$srcdir/$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
rm "$pkgdir"/usr/README/README.md
rmdir "$pkgdir"/usr/README
}