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

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


    Date: Wednesday, January 1, 2020 @ 16:30:04
  Author: jelle
Revision: 545850

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   63 ++++++++++++++++++++++---------------------------------------
 1 file changed, 23 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-01 16:29:53 UTC (rev 545849)
+++ PKGBUILD	2020-01-01 16:30:04 UTC (rev 545850)
@@ -1,40 +0,0 @@
-# Maintainer: Jiachen Yang <farseerfc at 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=4
-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"
-}

Copied: python-smartypants/repos/community-any/PKGBUILD (from rev 545849, python-smartypants/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-01-01 16:30:04 UTC (rev 545850)
@@ -0,0 +1,23 @@
+# Maintainer: Jiachen Yang <farseerfc at gmail.com>
+# AUR Maintainer: Aetf <aetf at unlimitedcodeworks dot xyz>
+# Contributor: carstene1ns <arch carsten-teibes de>
+
+pkgname=python-smartypants
+_pkgname=smartypants
+pkgver=2.0.1
+pkgrel=5
+pkgdesc="Python with the SmartyPants"
+url="https://bitbucket.org/livibetter/smartypants.py"
+license=('BSD')
+arch=('any')
+depends=('python')
+makedepends=('python')
+sha512sums=('d47a866a5478c3520251f87a93a468a5eea10318b24b2e8d4bc918d533b5a5789aa56d3a8d5fb8ccff9572fb63e5b6f2eafc44f93fb57a19e6621ebef5d64d9d')
+source=(
+"https://github.com/leohemsted/${_pkgname}.py/archive/v${pkgver}.tar.gz")
+
+package() {
+  cd "$srcdir/${_pkgname}.py-$pkgver"
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
+}



More information about the arch-commits mailing list