[arch-commits] Commit in python-text-unidecode/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed Jan 1 16:10:10 UTC 2020


    Date: Wednesday, January 1, 2020 @ 16:10:08
  Author: jelle
Revision: 545844

archrelease: copy trunk to community-any

Added:
  python-text-unidecode/repos/community-any/PKGBUILD
    (from rev 545843, python-text-unidecode/trunk/PKGBUILD)
Deleted:
  python-text-unidecode/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++--------------------------------------
 1 file changed, 31 insertions(+), 50 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-01 16:09:59 UTC (rev 545843)
+++ PKGBUILD	2020-01-01 16:10:08 UTC (rev 545844)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-text-unidecode
-pkgname=(python-text-unidecode python2-text-unidecode)
-pkgver=1.3
-pkgrel=3
-pkgdesc="The most basic Text::Unidecode port"
-url="https://github.com/kmike/text-unidecode"
-license=('PerlArtistic')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python2-pytest-runner')
-source=("https://pypi.io/packages/source/t/text-unidecode/text-unidecode-$pkgver.tar.gz")
-sha512sums=('aeaf0e79bd0545ca7a4fe700d5a7dac1d5900841fcfe8a5a568c84ba7d3bee5f75eaac0531f4a01d689a550ac5bc7e1acaeb8132293f220db8387fae2eb6a150')
-
-prepare() {
-  cp -a text-unidecode-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/text-unidecode-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/text-unidecode-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/text-unidecode-$pkgver
-  python setup.py pytest
-
-  cd "$srcdir"/text-unidecode-$pkgver-py2
-  python2 setup.py pytest
-}
-
-package_python-text-unidecode() {
-  depends=('python')
-
-  cd text-unidecode-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-text-unidecode() {
-  depends=('python2')
-
-  cd text-unidecode-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}

Copied: python-text-unidecode/repos/community-any/PKGBUILD (from rev 545843, python-text-unidecode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-01 16:10:08 UTC (rev 545844)
@@ -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=3
+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