[arch-commits] Commit in python-speg/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:21:33 UTC 2019
Date: Friday, October 25, 2019 @ 15:21:32
Author: felixonmars
Revision: 365620
archrelease: copy trunk to staging-any
Added:
python-speg/repos/staging-any/
python-speg/repos/staging-any/LICENSE
(from rev 365619, python-speg/trunk/LICENSE)
python-speg/repos/staging-any/PKGBUILD
(from rev 365619, python-speg/trunk/PKGBUILD)
----------+
LICENSE | 16 ++++++++++++++++
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+)
Copied: python-speg/repos/staging-any/LICENSE (from rev 365619, python-speg/trunk/LICENSE)
===================================================================
--- staging-any/LICENSE (rev 0)
+++ staging-any/LICENSE 2019-10-25 15:21:32 UTC (rev 365620)
@@ -0,0 +1,16 @@
+No-notice MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
Copied: python-speg/repos/staging-any/PKGBUILD (from rev 365619, python-speg/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2019-10-25 15:21:32 UTC (rev 365620)
@@ -0,0 +1,32 @@
+# Maintainer: Rémy Oudompheng <remy at archlinux.org>
+
+pkgbase=python-speg
+pkgname=('python-speg' 'python2-speg')
+pkgver=0.3
+pkgrel=2
+pkgdesc="A PEG-based parser interpreter with memoization"
+arch=('any')
+url="https://github.com/avakar/pyspeg"
+license=('MIT')
+makedepends=('python-setuptools'
+ 'python2-setuptools')
+source=(https://pypi.io/packages/source/s/speg/speg-$pkgver.zip
+ LICENSE)
+sha256sums=('10cbef47e168dfc62f14db575cf1c428037a2b881cee6c3cfceda0439c243e71'
+ '37d897f62a4324d8d2f313d7d1b98cd26f872d2ae598b7eb9a69b1c129bcc135')
+
+package_python2-speg() {
+ depends=('python2' 'python2-six')
+
+ cd "$srcdir"/speg-${pkgver}
+ python2 setup.py install --root="${pkgdir}"
+ install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python-speg() {
+ depends=('python' 'python-six')
+
+ cd "$srcdir"/speg-${pkgver}
+ python setup.py install --root="${pkgdir}"
+ install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list