[arch-commits] Commit in python-cson/repos (extra-any extra-any/PKGBUILD)
Rémy Oudompheng
remy at archlinux.org
Fri Aug 10 15:04:09 UTC 2018
Date: Friday, August 10, 2018 @ 15:04:09
Author: remy
Revision: 331342
archrelease: copy trunk to extra-any
Added:
python-cson/repos/extra-any/
python-cson/repos/extra-any/PKGBUILD
(from rev 331341, python-cson/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: python-cson/repos/extra-any/PKGBUILD (from rev 331341, python-cson/trunk/PKGBUILD)
===================================================================
--- extra-any/PKGBUILD (rev 0)
+++ extra-any/PKGBUILD 2018-08-10 15:04:09 UTC (rev 331342)
@@ -0,0 +1,40 @@
+# $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"
+}
More information about the arch-commits
mailing list