[arch-commits] Commit in python-commonmark/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Thu Mar 15 02:39:09 UTC 2018
Date: Thursday, March 15, 2018 @ 02:39:08
Author: anthraxx
Revision: 307905
upgpkg: python-commonmark 0.7.5-1
Modified:
python-commonmark/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-15 02:36:53 UTC (rev 307904)
+++ PKGBUILD 2018-03-15 02:39:08 UTC (rev 307905)
@@ -2,8 +2,8 @@
pkgbase=python-commonmark
pkgname=('python-commonmark' 'python2-commonmark')
-pkgver=0.7.4
-pkgrel=3
+pkgver=0.7.5
+pkgrel=1
pkgdesc='Python parser for the CommonMark Markdown spec'
url='https://pypi.python.org/pypi/CommonMark'
arch=('any')
@@ -11,9 +11,10 @@
makedepends=('python-setuptools' 'python-docutils' 'python-future' 'python-sphinx'
'python2-setuptools' 'python2-docutils' 'python2-future' 'python2-sphinx')
checkdepends=('python-hypothesis' 'python2-hypothesis')
+options=('!makeflags')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rtfd/CommonMark-py/archive/${pkgver}.tar.gz)
-sha256sums=('fe9210e59299a291b0da87c3aecedc5ff50cb9976b0850d72a6eb5151a269478')
-sha512sums=('1973bad380197c6e42215077505c91f4a5d485653635683f5b192c806b4366fedb1c67285e716b9632fb3ebd0e1e2e587c5247422c82a936f84ed81d56e342ca')
+sha256sums=('f483150b7b1dde5f7956e47d2345913b453c4390ff2279817520ae94e25c8eee')
+sha512sums=('91c9d0e5770430c12d155e6d4ca5a7dcde3f70e24f0ff362e54436f6a218428f1db7a4177ed7cd152c31f6d1a9a25db51f1b248727d36720fc16635d6dd4edd2')
prepare() {
cp -r CommonMark-py-${pkgver}{,-py2}
@@ -22,11 +23,11 @@
build() {
(cd CommonMark-py-${pkgver}
python setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build
+ make -C docs man text SPHINXBUILD=sphinx-build
)
(cd CommonMark-py-${pkgver}-py2
python2 setup.py build
- make -j1 -C docs man text SPHINXBUILD=sphinx-build2
+ make -C docs man text SPHINXBUILD=sphinx-build2
)
}
@@ -48,7 +49,7 @@
depends=('python-docutils' 'python-future')
cd CommonMark-py-${pkgver}
- python setup.py install --root="${pkgdir}" --skip-build -O1
+ python setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm 644 README.rst CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
@@ -60,7 +61,7 @@
depends=('python2-docutils' 'python2-future')
cd CommonMark-py-${pkgver}-py2
- python2 setup.py install --root="${pkgdir}" --skip-build -O1
+ python2 setup.py install --root="${pkgdir}" -O1 --skip-build
install -Dm 644 README.rst CHANGELOG.md -t "${pkgdir}/usr/share/doc/${pkgname}"
install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm 644 docs/_build/text/* -t "${pkgdir}/usr/share/doc/${pkgname}"
More information about the arch-commits
mailing list