[arch-commits] Commit in python-markdown/repos/community-any (PKGBUILD PKGBUILD)
Kyle Keen
kkeen at nymeria.archlinux.org
Wed Feb 19 20:36:09 UTC 2014
Date: Wednesday, February 19, 2014 @ 21:36:09
Author: kkeen
Revision: 105955
archrelease: copy trunk to community-any
Added:
python-markdown/repos/community-any/PKGBUILD
(from rev 105954, python-markdown/trunk/PKGBUILD)
Deleted:
python-markdown/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-19 20:35:53 UTC (rev 105954)
+++ PKGBUILD 2014-02-19 20:36:09 UTC (rev 105955)
@@ -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.3.1
-pkgrel=3
-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=('82f6828ec2292dda52fc38b743776bc6')
-
-build() {
- 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
- #find "$pkgdir/" -name '*.pyc' -delete
- #find "$pkgdir/" -type d -empty -delete
- 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
- #find "$pkgdir/" -name '*.pyc' -delete
- 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 105954, python-markdown/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-02-19 20:36:09 UTC (rev 105955)
@@ -0,0 +1,42 @@
+# $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.4
+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=('4bb9b82f617cac599b399b635fe2356b')
+
+build() {
+ 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|'
+ # bug in 2.4, some DOS line endings slipped in
+ find "$srcdir/python2-markdown" -name '*py' | xargs sed -i 's|env python.*$|env python2|'
+}
+
+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