Date: Sunday, May 27, 2018 @ 22:05:09 Author: foxboron Revision: 332110
archrelease: copy trunk to community-any Added: hy/repos/community-any/ hy/repos/community-any/PKGBUILD (from rev 332109, hy/trunk/PKGBUILD) ----------+ PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) Copied: hy/repos/community-any/PKGBUILD (from rev 332109, hy/trunk/PKGBUILD) =================================================================== --- community-any/PKGBUILD (rev 0) +++ community-any/PKGBUILD 2018-05-27 22:05:09 UTC (rev 332110) @@ -0,0 +1,32 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: JP Cimalando <jp-...@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" +}