[arch-commits] Commit in python-cson/repos/extra-any (PKGBUILD PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Sun Sep 1 19:54:16 UTC 2019
Date: Sunday, September 1, 2019 @ 19:54:16
Author: remy
Revision: 361471
archrelease: copy trunk to extra-any
Added:
python-cson/repos/extra-any/PKGBUILD
(from rev 361470, python-cson/trunk/PKGBUILD)
Deleted:
python-cson/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 69 +++++++++++++++++++++++++------------------------------------
1 file changed, 29 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-01 19:54:05 UTC (rev 361470)
+++ PKGBUILD 2019-09-01 19:54:16 UTC (rev 361471)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Rémy Oudompheng <remy at archlinux.org>
-
-pkgbase=python-cson
-pkgname=(python-cson python2-cson)
-pkgver=0.7
-pkgrel=1
-pkgdesc="A Python parser for Coffeescript Object Notation (CSON)"
-arch=('any')
-url="https://github.com/avakar/pycson"
-license=('MIT')
-makedepends=('git'
- 'python-setuptools'
- 'python2-setuptools'
- 'python-speg'
- 'python2-speg')
-source=("git://github.com/avakar/pycson.git#tag=${pkgver}")
-sha256sums=(SKIP)
-
-check() {
- cd "$srcdir"/pycson
- python test.py
- python2 test.py
-}
-
-package_python2-cson() {
- depends=('python2' 'python2-six' 'python2-speg')
-
- cd "$srcdir"/pycson
- python2 setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python-cson() {
- depends=('python' 'python-six' 'python-speg')
-
- cd "$srcdir"/pycson
- python setup.py install --root="${pkgdir}"
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-cson/repos/extra-any/PKGBUILD (from rev 361470, python-cson/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-01 19:54:16 UTC (rev 361471)
@@ -0,0 +1,29 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=python-cson
+pkgver=0.8
+pkgrel=1
+pkgdesc="A Python parser for Coffeescript Object Notation (CSON)"
+arch=('any')
+url="https://github.com/avakar/pycson"
+license=('MIT')
+makedepends=('git'
+ 'python-setuptools'
+ 'python-pytest'
+ 'python-pytest-cov'
+ 'python-speg')
+depends=('python' 'python-six' 'python-speg')
+_commit=d2ed07d980382e44726cf3c074957e752ef6441b
+source=("git://github.com/avakar/pycson.git#tag=${_commit}")
+sha256sums=(SKIP)
+
+check() {
+ cd "$srcdir"/pycson
+ PYTHONPATH=. py.test --cov=cson --cov-report term-missing
+}
+
+package() {
+ cd "$srcdir"/pycson
+ python setup.py install --root="${pkgdir}"
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list