[arch-commits] Commit in python-text-unidecode/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 15:37:39 UTC 2020
Date: Monday, November 9, 2020 @ 15:37:39
Author: foutrelis
Revision: 747032
archrelease: copy trunk to community-staging-any
Added:
python-text-unidecode/repos/community-staging-any/
python-text-unidecode/repos/community-staging-any/PKGBUILD
(from rev 747031, python-text-unidecode/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-text-unidecode/repos/community-staging-any/PKGBUILD (from rev 747031, python-text-unidecode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 15:37:39 UTC (rev 747032)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-text-unidecode
+pkgver=1.3
+pkgrel=5
+pkgdesc="The most basic Text::Unidecode port"
+url="https://github.com/kmike/text-unidecode"
+license=('PerlArtistic')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner')
+source=("https://pypi.io/packages/source/t/text-unidecode/text-unidecode-$pkgver.tar.gz")
+sha512sums=('aeaf0e79bd0545ca7a4fe700d5a7dac1d5900841fcfe8a5a568c84ba7d3bee5f75eaac0531f4a01d689a550ac5bc7e1acaeb8132293f220db8387fae2eb6a150')
+
+build() {
+ cd "$srcdir"/text-unidecode-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/text-unidecode-$pkgver
+ python setup.py pytest
+}
+
+package() {
+ cd text-unidecode-$pkgver
+ python3 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list