archlinux-pkgbuilds/PKGBUILD
Richard PALO c7e94a8d07 update to latest.. 2024.11.0
Changed

    Removed support for deprecated Python version 3.8
    Updated the bank registries for Austria, Germany, Poland, Netherlands, Spain, Czech Republic, Italy, and Switzerland.

Added

    New French Banks @Natim
    Add modulr bank to Spanish bank registry @jose-reveni
2025-02-24 15:28:05 +01:00

23 lines
770 B
Bash

# Contributor: Richard PALO <richard.palo@free.fr>
pkgname=python-schwifty
_name=${pkgname#python-}
pkgver=2024.11.0
pkgrel=1
pkgdesc="Validate/generate IBANS and BICS"
arch=('any')
url="http://github.com/mdomke/schwifty"
license=('MIT')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel')
depends=('python>=3.9' 'python-iso3166' 'python-pycountry')
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
}