Skip to content
Snippets Groups Projects
Commit 35bd73d6 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

upgpkg: 0.8.0-1

parent 3c035c71
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,8 @@
pkgbase=python-commonmark
pkgname=('python-commonmark' 'python2-commonmark')
pkgver=0.7.5
pkgrel=2
pkgver=0.8.0
pkgrel=1
pkgdesc='Python parser for the CommonMark Markdown spec'
url='https://pypi.python.org/pypi/CommonMark'
arch=('any')
......@@ -13,8 +13,8 @@ makedepends=('python-setuptools' 'python-docutils' 'python-future' 'python-sphin
checkdepends=('python-hypothesis' 'python2-hypothesis')
options=('!makeflags')
source=(${pkgname}-${pkgver}.tar.gz::https://github.com/rtfd/CommonMark-py/archive/${pkgver}.tar.gz)
sha256sums=('f483150b7b1dde5f7956e47d2345913b453c4390ff2279817520ae94e25c8eee')
sha512sums=('91c9d0e5770430c12d155e6d4ca5a7dcde3f70e24f0ff362e54436f6a218428f1db7a4177ed7cd152c31f6d1a9a25db51f1b248727d36720fc16635d6dd4edd2')
sha256sums=('3ad70dc6ecf455c5e1b582b135fd3c62d34eacf5c6e4c85da5254c8e0e84b6ed')
sha512sums=('f2f1af69bf8cdb2353709d66bda2b2aac73c0550e56eac8538c2f220a3b5786d99f58d224fa8790d07191bfebeb9ed06b5b476ffd3d51818f9e765de900237bc')
prepare() {
cp -r CommonMark-py-${pkgver}{,-py2}
......@@ -33,12 +33,12 @@ build() {
check() {
(cd CommonMark-py-${pkgver}
export PYTHONPATH=.
export PYTHONPATH=.
python CommonMark/tests/unit_tests.py
python setup.py test
)
(cd CommonMark-py-${pkgver}-py2
export PYTHONPATH=.
export PYTHONPATH=.
export PYTHONIOENCODING=UTF-8
python2 CommonMark/tests/unit_tests.py
python2 setup.py test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment