mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 02:05:16 +03:00
31 lines
885 B
Text
31 lines
885 B
Text
# Maintainer: Drew DeVault <sir@cmpwn.com>
|
|
pkgname=py3-text-unidecode
|
|
_pkgname=text-unidecode
|
|
pkgver=1.3
|
|
pkgrel=2
|
|
pkgdesc="The most basic Text::Unidecode port"
|
|
url=https://github.com/kmike/text-unidecode/
|
|
arch=noarch
|
|
license="Artistic-1.0-cl8"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="pytest"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/kmike/$_pkgname/archive/$pkgver.tar.gz"
|
|
builddir=$srcdir/$_pkgname-$pkgver
|
|
|
|
replaces=py-text-unidecode # Backwards compatibility
|
|
provides=py-text-unidecode=$pkgver-r$pkgrel # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH=src pytest-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="8f782a1f0289721bf72d4f32c351628c537a118ea995ea63636abd0f87124909cf52b2f4d8a9b02ab9403fd41f2d1725eb0d7ffeb4f6e80cbd1791edfcd4faec py3-text-unidecode-1.3.tar.gz"
|