[arch-commits] Commit in python-commonmark/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sun Aug 6 22:08:05 UTC 2017
Date: Sunday, August 6, 2017 @ 22:08:04
Author: anthraxx
Revision: 249160
upgpkg: python-commonmark 0.7.4-3 (fixing bin conflict)
Modified:
python-commonmark/trunk/PKGBUILD
----------+
PKGBUILD | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-08-06 22:07:57 UTC (rev 249159)
+++ PKGBUILD 2017-08-06 22:08:04 UTC (rev 249160)
@@ -3,7 +3,7 @@
pkgbase=python-commonmark
pkgname=('python-commonmark' 'python2-commonmark')
pkgver=0.7.4
-pkgrel=2
+pkgrel=3
pkgdesc='Python parser for the CommonMark Markdown spec'
url='https://pypi.python.org/pypi/CommonMark'
arch=('any')
@@ -53,6 +53,7 @@
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 docs/_build/man/commonmark-py.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+ mv "${pkgdir}/usr/bin/cmark"{,-py3}
}
package_python2-commonmark() {
@@ -64,7 +65,7 @@
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 docs/_build/man/commonmark-py.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
- mv "${pkgdir}/usr/bin/cmark"{,2}
+ mv "${pkgdir}/usr/bin/cmark"{,-py2}
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list