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

Jelle van der Waa jelle at archlinux.org
Tue May 12 21:33:46 UTC 2020


    Date: Tuesday, May 12, 2020 @ 21:33:45
  Author: jelle
Revision: 627245

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   83 ++++++++++++++++++++++---------------------------------------
 1 file changed, 30 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 21:33:37 UTC (rev 627244)
+++ PKGBUILD	2020-05-12 21:33:45 UTC (rev 627245)
@@ -1,53 +0,0 @@
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Kwpolska <kwpolska at kwpolska.tk>
-
-pkgbase=python-unidecode
-pkgname=(
-  python-unidecode
-  python2-unidecode
-)
-pkgver=1.1.1
-pkgrel=3
-pkgdesc='ASCII transliterations of Unicode text'
-arch=(any)
-url=https://github.com/avian2/unidecode
-license=(GPL)
-makedepends=(
-  git
-  python-setuptools
-  python2-setuptools
-)
-source=(git+https://github.com/avian2/unidecode.git#tag=unidecode-${pkgver})
-sha256sums=(SKIP)
-
-prepare() {
-  cp -r {,python-}unidecode
-   mv {,python2-}unidecode
-}
-
-build() {
-  for py in python{,2}; do
-    pushd ${py}-unidecode
-    ${py} setup.py build
-    popd
-  done
-}
-
-package_python-unidecode() {
-  depends=(python)
-
-  cd python-unidecode
-
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}
-
-package_python2-unidecode() {
-  depends=(python2)
-
-  cd python2-unidecode
-
-  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  mv "${pkgdir}"/usr/bin/unidecode{,2}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-unidecode/repos/community-any/PKGBUILD (from rev 627244, python-unidecode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-12 21:33:45 UTC (rev 627245)
@@ -0,0 +1,30 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Kwpolska <kwpolska at kwpolska.tk>
+
+pkgname=python-unidecode
+pkgver=1.1.1
+pkgrel=4
+pkgdesc='ASCII transliterations of Unicode text'
+arch=(any)
+url=https://github.com/avian2/unidecode
+license=(GPL)
+depends=(python)
+makedepends=(
+  git
+  python-setuptools
+)
+source=(git+https://github.com/avian2/unidecode.git#tag=unidecode-${pkgver})
+sha256sums=(SKIP)
+
+build() {
+  cd unidecode
+  python setup.py build
+}
+
+package() {
+  cd unidecode
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list