[arch-commits] Commit in (hy hy/repos hy/trunk hy/trunk/PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Sun May 27 22:04:11 UTC 2018
Date: Sunday, May 27, 2018 @ 22:04:11
Author: foxboron
Revision: 332109
Added hylang to community
Added:
hy/
hy/repos/
hy/trunk/
hy/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Added: hy/trunk/PKGBUILD
===================================================================
--- hy/trunk/PKGBUILD (rev 0)
+++ hy/trunk/PKGBUILD 2018-05-27 22:04:11 UTC (rev 332109)
@@ -0,0 +1,32 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: JP Cimalando <jp-dev at inbox.ru>
+
+pkgname=hy
+pkgver=0.14.0
+pkgrel=2
+pkgdesc="A dialect of Lisp that's embedded in Python"
+arch=('any')
+url="http://hylang.org/"
+license=('MIT')
+depends=('python-rply' 'python-astor' 'python-clint')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz")
+md5sums=('49f088476ba9eb3c0993299456a8eae5')
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check(){
+ cd "$pkgname-$pkgver"
+ python setup.py pytest --addopts "-k 'not test_bin'"
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -rf "$pkgdir/usr/get_version"
+}
More information about the arch-commits
mailing list