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

Alexander Rødseth arodseth at archlinux.org
Mon Sep 4 10:20:04 UTC 2017


    Date: Monday, September 4, 2017 @ 10:20:03
  Author: arodseth
Revision: 255638

upgpkg: epydoc 3.0.1-4

Modified:
  epydoc/trunk/PKGBUILD

----------+
 PKGBUILD |   50 +++++++++++++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 23 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-04 06:30:11 UTC (rev 255637)
+++ PKGBUILD	2017-09-04 10:20:03 UTC (rev 255638)
@@ -1,4 +1,6 @@
-# Maintainer: Chris Brannon <chris at the-brannons.com>
+# $Id$
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Chris Brannon <chris at the-brannons.com>
 # Contributor: Douglas Soares de Andrade <dsa at aur.archlinux.org>
 # Contributor: Angelo Theodorou <encelo at users.sourceforge.net>
 # Contributor: SpepS <dreamspepser at yahoo dot it>
@@ -5,47 +7,49 @@
 
 pkgname=epydoc
 pkgver=3.0.1
-pkgrel=3
-pkgdesc="A tool for generating API documentation for Python modules, based on their docstrings"
-arch=(any)
+pkgrel=4
+pkgdesc='Tool for generating API documentation for Python modules, based on their docstrings'
+arch=('any')
 license=('MIT')
-url="http://epydoc.sourceforge.net/"
+url='https://epydoc.sourceforge.net/'
 depends=('python2' 'docutils')
-optdepends=('tk: needed for epydocgui' 'texlive-bin: needed for PDF conversion' 'graphviz: needed for graph generation')
-source=("http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"
-        "handle-docutils-0.6.patch"
-        "python26-tokenizer.patch"
-        "string-exceptions.patch")
-md5sums=('cdd6f6c76dd8bab5e653a343a0544294'
-         'cff5c98976a9768e0ce53561dc816bf0'
-         'f0fec671b1c9a01c4452ae9c00926787'
-         'c942d7bf218d62d5913bd186762093c1')
+optdepends=('tk: needed for epydocgui'
+            'texlive-bin: needed for PDF conversion'
+            'graphviz: needed for graph generation')
+source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.zip"
+        'handle-docutils-0.6.patch'
+        'python26-tokenizer.patch'
+        'string-exceptions.patch')
+sha256sums=('574c1dca1b0e8783be0121c32f589cf56255cdb288b4d4e52e60f0a8bcf799cb'
+            '84d6724e0fcb3a5307963cbe37875e72110bf707781c64e7ddff0dfe96eeb1ab'
+            '8bfd54be68ee8e743ab470370042e40130e9cf8c0430d493401fa44eae2d66f6'
+            '099a94ba394f0c1c4f3f721fc3c9cf982a54f182be457faa03a7bb54188c8364')
 
 prepare() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
-  # python2 fixes
+  # py2 fix
   sed -i "s|env python|&2|" `grep -Erl "env python" .`
 
-  # patches
-  patch -p1 -i $srcdir/handle-docutils-0.6.patch
-  patch -p1 -i $srcdir/python26-tokenizer.patch
-  patch -p1 -i $srcdir/string-exceptions.patch
+  patch -p1 -i "$srcdir/handle-docutils-0.6.patch"
+  patch -p1 -i "$srcdir/python26-tokenizer.patch"
+  patch -p1 -i "$srcdir/string-exceptions.patch"
 }
 
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
   python2 setup.py build
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
 
   python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
 
-  # Man and license
   install -d "$pkgdir/usr/share/man/man1"
   install -m644 man/*.1 "$pkgdir/usr/share/man/man1"
   install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
 }
+
+# vim:ts=2 sw=2 et:



More information about the arch-commits mailing list