Date: Monday, April 24, 2023 @ 16:41:59
Author: foxboron
Revision: 1448535
archrelease: copy trunk to community-staging-any
Added:
hy/repos/community-staging-any/PKGBUILD
(from rev 1448534, hy/trunk/PKGBUILD)
Deleted:
hy/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-24 16:41:52 UTC (rev 1448534)
+++ PKGBUILD 2023-04-24 16:41:59 UTC (rev 1448535)
@@ -1,62 +0,0 @@
-# Maintainer: Morten Linderud <[email protected]>
-# Contributor: JP Cimalando <[email protected]>
-
-pkgname=hy
-epoch=1
-pkgver=0.26.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-funcparserlib' 'python-colorama')
-makedepends=('python-setuptools' 'python-build' 'python-wheel'
'python-installer')
-checkdepends=('python-pytest' 'python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz")
-sha256sums=('987668a2b74d7414952ed6a7f81e574ba95691c769ed34b9144d294f1faaea5d')
-
-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 -m build --wheel --no-isolation
-}
-
-check(){
- cd "$pkgname-$pkgver"
-
- python setup.py develop --user
- PATH="$HOME/.local/bin:$PATH"
- pytest
-
- # Hy does magic to the bytecode, but we need this gone from check.
- # this should be generated as part of the build step
- for file in hy/contrib/__pycache__/__init__.cpython-*.pyc \
- hy/contrib/__pycache__/loop.cpython-*.pyc \
- hy/contrib/__pycache__/sequences.cpython-*.pyc \
- hy/contrib/__pycache__/walk.cpython-*.pyc \
- hy/core/__pycache__/__init__.cpython-*.pyc \
- hy/core/__pycache__/language.cpython-*.pyc \
- hy/core/__pycache__/macros.cpython-*.pyc \
- hy/core/__pycache__/shadow.cpython-*.pyc \
- hy/extra/__pycache__/__init__.cpython-*.pyc \
- hy/extra/__pycache__/anaphoric.cpython-*.pyc \
- hy/extra/__pycache__/reserved.cpython-*.pyc
- do
- rm "$file" || true
- done
-
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python -m installer --destdir="$pkgdir" dist/*.whl
- install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- rm -rf "$pkgdir/usr/get_version"
-}
Copied: hy/repos/community-staging-any/PKGBUILD (from rev 1448534,
hy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-24 16:41:59 UTC (rev 1448535)
@@ -0,0 +1,62 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: JP Cimalando <[email protected]>
+
+pkgname=hy
+epoch=1
+pkgver=0.26.0
+pkgrel=2
+pkgdesc="A dialect of Lisp that's embedded in Python"
+arch=('any')
+url="http://hylang.org/"
+license=('MIT')
+depends=('python-astor' 'python-funcparserlib' 'python-colorama')
+makedepends=('python-setuptools' 'python-build' 'python-wheel'
'python-installer')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz")
+sha256sums=('987668a2b74d7414952ed6a7f81e574ba95691c769ed34b9144d294f1faaea5d')
+
+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 -m build --wheel --no-isolation
+}
+
+check(){
+ cd "$pkgname-$pkgver"
+
+ python setup.py develop --user
+ PATH="$HOME/.local/bin:$PATH"
+ pytest
+
+ # Hy does magic to the bytecode, but we need this gone from check.
+ # this should be generated as part of the build step
+ for file in hy/contrib/__pycache__/__init__.cpython-*.pyc \
+ hy/contrib/__pycache__/loop.cpython-*.pyc \
+ hy/contrib/__pycache__/sequences.cpython-*.pyc \
+ hy/contrib/__pycache__/walk.cpython-*.pyc \
+ hy/core/__pycache__/__init__.cpython-*.pyc \
+ hy/core/__pycache__/language.cpython-*.pyc \
+ hy/core/__pycache__/macros.cpython-*.pyc \
+ hy/core/__pycache__/shadow.cpython-*.pyc \
+ hy/extra/__pycache__/__init__.cpython-*.pyc \
+ hy/extra/__pycache__/anaphoric.cpython-*.pyc \
+ hy/extra/__pycache__/reserved.cpython-*.pyc
+ do
+ rm "$file" || true
+ done
+
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python -m installer --destdir="$pkgdir" dist/*.whl
+ install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ rm -rf "$pkgdir/usr/get_version"
+}