[arch-commits] Commit in python-cson/repos (staging-any staging-any/PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Sat May 16 09:21:12 UTC 2020
Date: Saturday, May 16, 2020 @ 09:21:12
Author: foutrelis
Revision: 383837
archrelease: copy trunk to staging-any
Added:
python-cson/repos/staging-any/
python-cson/repos/staging-any/PKGBUILD
(from rev 383836, python-cson/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-cson/repos/staging-any/PKGBUILD (from rev 383836, python-cson/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2020-05-16 09:21:12 UTC (rev 383837)
@@ -0,0 +1,29 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgname=python-cson
+pkgver=0.8
+pkgrel=3
+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