[arch-commits] Commit in python-markdown/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at archlinux.org
Wed Apr 1 20:42:40 UTC 2015
Date: Wednesday, April 1, 2015 @ 22:42:40
Author: kkeen
Revision: 130502
archrelease: copy trunk to community-any
Added:
python-markdown/repos/community-any/PKGBUILD
(from rev 130501, python-markdown/trunk/PKGBUILD)
Deleted:
python-markdown/repos/community-any/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2015-04-01 20:42:26 UTC (rev 130501)
+++ PKGBUILD 2015-04-01 20:42:40 UTC (rev 130502)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Kyle Keen <keenerd at gmail.com>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrew Antle <andrew dot antle at gmail dot com>
-# Contributor: Thomas Dziedzic < gostrc at gmail >
-# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
-
-pkgbase=python-markdown
-pkgname=('python-markdown' 'python2-markdown')
-_pkgbasename=Markdown
-pkgver=2.5.2
-pkgrel=1
-pkgdesc="Python implementation of John Gruber's Markdown."
-arch=('any')
-url='http://pypi.python.org/pypi/Markdown'
-license=('BSD')
-makedepends=('python' 'python2')
-source=("http://pypi.python.org/packages/source/M/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
-md5sums=('db9e3175f4638bfd1574996bf471ea96')
-
-build() {
- # bug in 2.4, some DOS line endings slipped in
- find "$_pkgbasename-$pkgver/" -name '*py' | xargs sed -i 's|\r||g'
-
- cp -r $_pkgbasename-$pkgver "$srcdir/python2-markdown"
- cd "$srcdir/python2-markdown"
- find "$srcdir/python2-markdown" -name '*py' | xargs sed -i 's|#!/usr/bin/env python$|&2|'
-}
-
-package_python-markdown() {
- depends=('python')
- cd "$srcdir/$_pkgbasename-$pkgver"
- python3 setup.py install --root="$pkgdir" --optimize=0
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python-markdown/LICENSE"
-}
-
-package_python2-markdown() {
- depends=('python2')
- cd "$srcdir/python2-markdown"
- python2 setup.py install --root="$pkgdir" --optimize=0
- mv "$pkgdir/usr/bin/markdown_py" "$pkgdir/usr/bin/markdown_py2"
- install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python2-markdown/LICENSE"
-}
Copied: python-markdown/repos/community-any/PKGBUILD (from rev 130501, python-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2015-04-01 20:42:40 UTC (rev 130502)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrew Antle <andrew dot antle at gmail dot com>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: Chaiwat Suttipongsakul <cwt at bashell dot com>
+
+pkgbase=python-markdown
+pkgname=('python-markdown' 'python2-markdown')
+_pkgbasename=Markdown
+pkgver=2.6.1
+pkgrel=1
+pkgdesc="Python implementation of John Gruber's Markdown."
+arch=('any')
+url='http://pypi.python.org/pypi/Markdown'
+license=('BSD')
+makedepends=('python' 'python2')
+source=("http://pypi.python.org/packages/source/M/$_pkgbasename/$_pkgbasename-$pkgver.tar.gz")
+md5sums=('c084f9d2fd0a839639fd9aa8c442d5cd')
+
+build() {
+ # bug in 2.4, some DOS line endings slipped in
+ find "$_pkgbasename-$pkgver/" -name '*py' | xargs sed -i 's|\r||g'
+
+ cp -r $_pkgbasename-$pkgver "$srcdir/python2-markdown"
+ cd "$srcdir/python2-markdown"
+ find "$srcdir/python2-markdown" -name '*py' | xargs sed -i 's|#!/usr/bin/env python$|&2|'
+}
+
+package_python-markdown() {
+ depends=('python')
+ cd "$srcdir/$_pkgbasename-$pkgver"
+ python3 setup.py install --root="$pkgdir" --optimize=0
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python-markdown/LICENSE"
+}
+
+package_python2-markdown() {
+ depends=('python2')
+ cd "$srcdir/python2-markdown"
+ python2 setup.py install --root="$pkgdir" --optimize=0
+ mv "$pkgdir/usr/bin/markdown_py" "$pkgdir/usr/bin/markdown_py2"
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/python2-markdown/LICENSE"
+}
More information about the arch-commits
mailing list