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

Eli Schwartz eschwartz at archlinux.org
Fri Jun 8 02:27:59 UTC 2018


    Date: Friday, June 8, 2018 @ 02:27:59
  Author: eschwartz
Revision: 341921

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++++++++--------------------------
 1 file changed, 42 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-06-08 02:27:42 UTC (rev 341920)
+++ PKGBUILD	2018-06-08 02:27:59 UTC (rev 341921)
@@ -1,31 +0,0 @@
-# $Id$
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Contributor: Thomas Weißschuh <thomas t-8ch de>
-
-pkgbase=python-markups
-pkgname=('python-markups' 'python2-markups')
-pkgver=3.0.0
-pkgrel=1
-pkgdesc='Wrapper around various text markups'
-arch=('any')
-url='https://launchpad.net/python-markups'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-source=($pkgname-$pkgver.tar.gz::http://github.com/retext-project/pymarkups/archive/$pkgver.tar.gz)
-sha256sums=('5edc73ceed7d5ee207c481cc67852b5e54c731d65a32cb06afc27c455d5e70f4')
-
-package_python-markups() {
-  depends=('python')
-
-  cd "${srcdir}"/pymarkups-$pkgver
-  python setup.py install --root="${pkgdir}"
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-markups() {
-  depends=('python2')
-
-  cd "${srcdir}"/pymarkups-$pkgver
-  python2 setup.py install --root="${pkgdir}"
-  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-markups/repos/community-any/PKGBUILD (from rev 341920, python-markups/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-06-08 02:27:59 UTC (rev 341921)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+
+_pkgname=Markups
+pkgbase=python-markups
+pkgname=('python-markups' 'python2-markups')
+pkgver=3.0.0
+pkgrel=2
+pkgdesc='Wrapper around various text markups'
+arch=('any')
+url='https://launchpad.net/python-markups'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-markdown-math' 'python2-markdown-math')
+source=($pkgname-$pkgver.tar.gz::http://github.com/retext-project/pymarkups/archive/$pkgver.tar.gz)
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('1ea19458dfca6a4562044e701aa8698089a0c659fc535689ed260f89a04f8d39'
+            'SKIP')
+validpgpkeys=('F24299FF1BBC9018B906A4CB6026936D2F1C8AE0') # Dmitry Shachnev <mitya57 at debian.org>
+
+build() {
+  cd "${srcdir}"/${_pkgname}-${pkgver}
+
+  python setup.py build
+  python2 setup.py build
+}
+
+package_python-markups() {
+  depends=('python-markdown-math')
+
+  cd "${srcdir}"/${_pkgname}-${pkgver}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-markups() {
+  depends=('python2-markdown-math')
+
+  cd "${srcdir}"/${_pkgname}-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list