[arch-commits] Commit in python-unidecode/trunk (PKGBUILD)

Maxime Gauduin alucryd at archlinux.org
Sun Feb 11 21:22:43 UTC 2018


    Date: Sunday, February 11, 2018 @ 21:22:42
  Author: alucryd
Revision: 292568

upgpkg: python-unidecode 1.0.22-1

Modified:
  python-unidecode/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-11 21:15:42 UTC (rev 292567)
+++ PKGBUILD	2018-02-11 21:22:42 UTC (rev 292568)
@@ -4,7 +4,7 @@
 
 pkgbase=python-unidecode
 pkgname=('python-unidecode' 'python2-unidecode')
-pkgver=0.04.21
+pkgver=1.0.22
 pkgrel=1
 pkgdesc='ASCII transliterations of Unicode text'
 arch=('any')
@@ -11,17 +11,17 @@
 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/release-${pkgver}.tar.gz")
-sha256sums=('94aae5e8bed7a7646ba3a206f3fa2020464b9f88cef1853bc5cc580be15a3a3b')
+source=("python-unidecode-${pkgver}.tar.gz::https://github.com/avian2/unidecode/archive/unidecode-${pkgver}.tar.gz")
+sha256sums=('a650064d1fdd2bf52a57c8daab8ebe674097b335028c0aba6aecfebe18da47a9')
 
 prepare() {
-  cp -r {,python-}unidecode-release-${pkgver}
-   mv {,python2-}unidecode-release-${pkgver}
+  cp -r {,python-}unidecode-unidecode-${pkgver}
+   mv {,python2-}unidecode-unidecode-${pkgver}
 }
 
 build() {
   for py in python{,2}; do
-    pushd ${py}-unidecode-release-${pkgver}
+    pushd ${py}-unidecode-unidecode-${pkgver}
     ${py} setup.py build
     popd
   done
@@ -30,7 +30,7 @@
 package_python-unidecode() {
   depends=('python')
 
-  cd python-unidecode-release-${pkgver}
+  cd python-unidecode-unidecode-${pkgver}
 
   python setup.py install --root="${pkgdir}" --optimize='1'
 }
@@ -38,7 +38,7 @@
 package_python2-unidecode() {
   depends=('python2')
 
-  cd python2-unidecode-release-${pkgver}
+  cd python2-unidecode-unidecode-${pkgver}
 
   python2 setup.py install --root="${pkgdir}" --optimize='1'
   mv "${pkgdir}"/usr/bin/unidecode{,2}



More information about the arch-commits mailing list