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

Maxime Gauduin alucryd at archlinux.org
Wed Nov 21 09:26:45 UTC 2018


    Date: Wednesday, November 21, 2018 @ 09:26:44
  Author: alucryd
Revision: 409257

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   97 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 47 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-11-21 09:26:36 UTC (rev 409256)
+++ PKGBUILD	2018-11-21 09:26:44 UTC (rev 409257)
@@ -1,47 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Kwpolska <kwpolska at kwpolska.tk>
-
-pkgbase=python-unidecode
-pkgname=('python-unidecode' 'python2-unidecode')
-pkgver=1.0.22
-pkgrel=2
-pkgdesc='ASCII transliterations of Unicode text'
-arch=('any')
-url='https://github.com/avian2/unidecode'
-license=('GPL')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=("python-unidecode-${pkgver}.tar.gz::https://github.com/avian2/unidecode/archive/unidecode-${pkgver}.tar.gz")
-sha256sums=('a650064d1fdd2bf52a57c8daab8ebe674097b335028c0aba6aecfebe18da47a9')
-
-prepare() {
-  cp -r {,python-}unidecode-unidecode-${pkgver}
-   mv {,python2-}unidecode-unidecode-${pkgver}
-}
-
-build() {
-  for py in python{,2}; do
-    pushd ${py}-unidecode-unidecode-${pkgver}
-    ${py} setup.py build
-    popd
-  done
-}
-
-package_python-unidecode() {
-  depends=('python')
-
-  cd python-unidecode-unidecode-${pkgver}
-
-  python setup.py install --root="${pkgdir}" --optimize='1'
-}
-
-package_python2-unidecode() {
-  depends=('python2')
-
-  cd python2-unidecode-unidecode-${pkgver}
-
-  python2 setup.py install --root="${pkgdir}" --optimize='1'
-  mv "${pkgdir}"/usr/bin/unidecode{,2}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-unidecode/repos/community-any/PKGBUILD (from rev 409256, python-unidecode/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-11-21 09:26:44 UTC (rev 409257)
@@ -0,0 +1,50 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Kwpolska <kwpolska at kwpolska.tk>
+
+pkgbase=python-unidecode
+pkgname=(python-unidecode python2-unidecode)
+pkgver=1.0.23
+pkgrel=1
+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:


More information about the arch-commits mailing list