Date: Saturday, December 29, 2018 @ 15:13:20 Author: foxboron Revision: 418846
archrelease: copy trunk to community-any Added: hy/repos/community-any/PKGBUILD (from rev 418845, hy/trunk/PKGBUILD) Deleted: hy/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-12-29 15:13:11 UTC (rev 418845) +++ PKGBUILD 2018-12-29 15:13:20 UTC (rev 418846) @@ -1,42 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Contributor: JP Cimalando <jp-...@inbox.ru> - -pkgname=hy -pkgver=0.15.0 -pkgrel=1 -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=('74e6def3be716730706ff273bfa648eb') - -prepare() { - cd "$pkgname-$pkgver" - - # usually generated from git metadata and aded to PyPI sdist - # PyPI does not include testsuite files. - echo "__version__ = '$pkgver'" > hy/version.py -} - -build() { - cd "$pkgname-$pkgver" - python setup.py build -} - -check(){ - cd "$pkgname-$pkgver" - python setup.py develop --user - PATH="$HOME/.local/bin:$PATH" - 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" -} Copied: hy/repos/community-any/PKGBUILD (from rev 418845, hy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-12-29 15:13:20 UTC (rev 418846) @@ -0,0 +1,42 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Contributor: JP Cimalando <jp-...@inbox.ru> + +pkgname=hy +pkgver=0.15.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' 'python-funcparserlib') +makedepends=('python-setuptools') +checkdepends=('python-pytest' 'python-pytest-runner') +source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz") +md5sums=('74e6def3be716730706ff273bfa648eb') + +prepare() { + cd "$pkgname-$pkgver" + + # usually generated from git metadata and aded to PyPI sdist + # PyPI does not include testsuite files. + echo "__version__ = '$pkgver'" > hy/version.py +} + +build() { + cd "$pkgname-$pkgver" + python setup.py build +} + +check(){ + cd "$pkgname-$pkgver" + python setup.py develop --user + PATH="$HOME/.local/bin:$PATH" + 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" +}