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

Jaroslav Lichtblau jlichtblau at archlinux.org
Wed May 11 18:36:49 UTC 2016


    Date: Wednesday, May 11, 2016 @ 20:36:49
  Author: jlichtblau
Revision: 174827

upgpkg: python-markups 2.0.0-1 - new upstream release

Modified:
  python-markups/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-05-11 18:09:21 UTC (rev 174826)
+++ PKGBUILD	2016-05-11 18:36:49 UTC (rev 174827)
@@ -3,8 +3,8 @@
 # Contributor: Thomas Weißschuh <thomas t-8ch de>
 
 pkgbase=python-markups
-pkgname=(python-markups python2-markups)
-pkgver=1.0.1
+pkgname=('python-markups' 'python2-markups')
+pkgver=2.0.0
 pkgrel=1
 pkgdesc='Wrapper around various text markups'
 arch=('any')
@@ -11,15 +11,13 @@
 url='https://launchpad.net/python-markups'
 license=('BSD')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=(http://pypi.python.org/packages/source/M/Markups/Markups-$pkgver.tar.gz)
-sha256sums=('74464b7532aa355f6ed2767fd5cfb5eb5b484dd773b33bae4016a7fa9354b4ee')
+source=($pkgname-$pkgver.tar.gz::http://github.com/retext-project/pymarkups/archive/$pkgver.tar.gz)
+sha256sums=('0d1ac398ecde6ec3904ec842abee7538d58a3a2d51ac2e61584a822dc6d73a06')
 
 package_python-markups() {
   depends=('python')
-  optdepends=('python-markdown: markdown support'
-              'python-docutils: reST support')
 
-  cd "${srcdir}"/Markups-$pkgver
+  cd "${srcdir}"/pymarkups-$pkgver
   python setup.py install --root="${pkgdir}"
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }
@@ -26,10 +24,8 @@
 
 package_python2-markups() {
   depends=('python2')
-  optdepends=('python-markdown2: markdown support'
-              'python-docutils2: reST support')
 
-  cd "${srcdir}"/Markups-$pkgver
+  cd "${srcdir}"/pymarkups-$pkgver
   python2 setup.py install --root="${pkgdir}"
   install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
 }



More information about the arch-commits mailing list