Add 'python-schwifty/' from commit '74624f2dbb
'
git-subtree-dir: python-schwifty git-subtree-mainline:cec81a4f01
git-subtree-split:74624f2dbb
This commit is contained in:
commit
6ceac2dcd1
2 changed files with 46 additions and 0 deletions
21
python-schwifty/.SRCINFO
Normal file
21
python-schwifty/.SRCINFO
Normal file
|
@ -0,0 +1,21 @@
|
|||
pkgbase = python-schwifty
|
||||
pkgdesc = Validate/generate IBANS and BICS
|
||||
pkgver = 2024.11.0
|
||||
pkgrel = 3
|
||||
url = http://github.com/mdomke/schwifty
|
||||
arch = any
|
||||
license = MIT
|
||||
makedepends = python-build
|
||||
makedepends = python-installer
|
||||
makedepends = python-wheel
|
||||
makedepends = python-hatchling
|
||||
makedepends = python-hatch-vcs
|
||||
depends = python>=3.9
|
||||
depends = python-iso3166
|
||||
depends = python-pycountry
|
||||
depends = python-rstr
|
||||
optdepends = python-pydantic>=2.0: data validation
|
||||
source = https://files.pythonhosted.org/packages/source/s/schwifty/schwifty-2024.11.0.tar.gz
|
||||
sha256sums = d0aaed03168403b433de515d663df09516941ae70152850da3afe3c242255f6a
|
||||
|
||||
pkgname = python-schwifty
|
25
python-schwifty/PKGBUILD
Normal file
25
python-schwifty/PKGBUILD
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Contributor: Richard PALO <richard.palo@free.fr>
|
||||
pkgname=python-schwifty
|
||||
_name=${pkgname#python-}
|
||||
pkgver=2024.11.0
|
||||
pkgrel=3
|
||||
pkgdesc="Validate/generate IBANS and BICS"
|
||||
arch=('any')
|
||||
url="http://github.com/mdomke/schwifty"
|
||||
license=('MIT')
|
||||
makedepends=('python-build' 'python-installer' 'python-wheel' 'python-hatchling' 'python-hatch-vcs')
|
||||
optdepends=('python-pydantic>=2.0: data validation')
|
||||
depends=('python>=3.9' 'python-iso3166' 'python-pycountry' 'python-rstr')
|
||||
source=(https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz)
|
||||
sha256sums=('d0aaed03168403b433de515d663df09516941ae70152850da3afe3c242255f6a')
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$_name-$pkgver"
|
||||
python -m build --wheel --no-isolation
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$_name-$pkgver"
|
||||
python -m installer --destdir="$pkgdir" dist/*.whl
|
||||
install -Dm644 "${srcdir}/${_name}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue