[arch-commits] Commit in python-text-unidecode/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:22:24 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:22:23
Author: felixonmars
Revision: 1058135
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 1058131, python-text-unidecode/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-text-unidecode/repos/community-staging-any/PKGBUILD (from rev 1058131, python-text-unidecode/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:22:23 UTC (rev 1058135)
@@ -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=7
+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