Date: Friday, February 23, 2018 @ 07:27:36
  Author: farseerfc
Revision: 297174

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   79 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 40 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-02-23 07:26:47 UTC (rev 297173)
+++ PKGBUILD    2018-02-23 07:27:36 UTC (rev 297174)
@@ -1,39 +0,0 @@
-# Maintainer: Jiachen Yang <farsee...@gmail.com>
-# AUR Maintainer: Aetf <aetf at unlimitedcodeworks dot xyz>
-# Contributor: carstene1ns <arch carsten-teibes de>
-
-pkgbase=python-smartypants
-pkgname=(python-smartypants python2-smartypants)
-_pkgname=smartypants
-pkgver=2.0.0
-pkgrel=2
-pkgdesc="Python with the SmartyPants"
-url="https://bitbucket.org/livibetter/smartypants.py";
-license=('BSD')
-arch=('any')
-makedepends=('python' 'python2')
-md5sums=('00b9105ac7ee1d53ca50c05dca4d5ad8')
-source=("https://pypi.python.org/packages/09/dd/08848ea21422a585ecd2dd32c032fd8f75f0f8345225b455f3bf9e5a0feb/${_pkgname}-${pkgver}.tar.gz#md5=${md5sums[0]}";)
-
-package_python-smartypants() {
-  depends=('python')
-
-  cd "$srcdir/$_pkgname-$pkgver"
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-}
-
-package_python2-smartypants() {
-  depends=('python2')
-
-  cd "$srcdir/$_pkgname-$pkgver"
-  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
-
-  # python2 fix
-  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' setup.py
-  sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2|' smartypants{.py,}
-  python2 setup.py install --root="${pkgdir}" -O1
-
-  # Prevent conflict with python-smartypants
-  mv "${pkgdir}/usr/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}2"
-}

Copied: python-smartypants/repos/community-any/PKGBUILD (from rev 297173, 
python-smartypants/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-02-23 07:27:36 UTC (rev 297174)
@@ -0,0 +1,40 @@
+# Maintainer: Jiachen Yang <farsee...@gmail.com>
+# AUR Maintainer: Aetf <aetf at unlimitedcodeworks dot xyz>
+# Contributor: carstene1ns <arch carsten-teibes de>
+
+pkgbase=python-smartypants
+pkgname=(python-smartypants python2-smartypants)
+_pkgname=smartypants
+pkgver=2.0.1
+pkgrel=1
+pkgdesc="Python with the SmartyPants"
+url="https://bitbucket.org/livibetter/smartypants.py";
+license=('BSD')
+arch=('any')
+makedepends=('python' 'python2')
+sha512sums=('d47a866a5478c3520251f87a93a468a5eea10318b24b2e8d4bc918d533b5a5789aa56d3a8d5fb8ccff9572fb63e5b6f2eafc44f93fb57a19e6621ebef5d64d9d')
+source=(
+"https://github.com/leohemsted/${_pkgname}.py/archive/v${pkgver}.tar.gz";)
+
+package_python-smartypants() {
+  depends=('python')
+
+  cd "$srcdir/${_pkgname}.py-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}
+
+package_python2-smartypants() {
+  depends=('python2')
+
+  cd "$srcdir/${_pkgname}.py-$pkgver"
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+
+  # python2 fix
+  sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' setup.py
+  sed -i 's|#!/usr/bin/python|#!/usr/bin/env python2|' smartypants{.py,}
+  python2 setup.py install --root="${pkgdir}" -O1
+
+  # Prevent conflict with python-smartypants
+  mv "${pkgdir}/usr/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}2"
+}

Reply via email to