Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / hy


Commits:
a373a17c by Antonio Rojas at 2025-12-26T13:54:50+01:00
upgpkg: 1:1.1.0-1: Python 3.14 rebuild

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,18 +1,19 @@
 pkgbase = hy
        pkgdesc = A dialect of Lisp that's embedded in Python
-       pkgver = 1.0.0
-       pkgrel = 2
+       pkgver = 1.1.0
+       pkgrel = 1
        epoch = 1
        url = http://hylang.org/
        arch = any
        license = MIT
        checkdepends = python-pytest
+       checkdepends = python-pip
        makedepends = python-setuptools
        makedepends = python-build
        makedepends = python-wheel
        makedepends = python-installer
        depends = python-funcparserlib
-       source = 
hy-1.0.0.tar.gz::https://github.com/hylang/hy/archive/1.0.0.tar.gz
-       sha256sums = 
7cc98e0579cf64da31bb2e2d9cd00faa25d515215d24acf57ebd9853e16370ba
+       source = 
hy-1.1.0.tar.gz::https://github.com/hylang/hy/archive/1.1.0.tar.gz
+       sha256sums = 
e3508b13733e1e00c5c9c806384d05485ce182b162e73510b097dcc8bcd477d5
 
 pkgname = hy


=====================================
PKGBUILD
=====================================
@@ -3,17 +3,17 @@
 
 pkgname=hy
 epoch=1
-pkgver=1.0.0
-pkgrel=2
+pkgver=1.1.0
+pkgrel=1
 pkgdesc="A dialect of Lisp that's embedded in Python"
 arch=('any')
 url="http://hylang.org/";
 license=('MIT')
 depends=('python-funcparserlib')
 makedepends=('python-setuptools' 'python-build' 'python-wheel' 
'python-installer')
-checkdepends=('python-pytest')
+checkdepends=('python-pytest' 'python-pip')
 
source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz";)
-sha256sums=('7cc98e0579cf64da31bb2e2d9cd00faa25d515215d24acf57ebd9853e16370ba')
+sha256sums=('e3508b13733e1e00c5c9c806384d05485ce182b162e73510b097dcc8bcd477d5')
 
 prepare() {
     cd "$pkgname-$pkgver"
@@ -31,29 +31,10 @@ build() {
 check(){
     cd "$pkgname-$pkgver"
 
-    export PYTHONDONTWRITEBYTECODE=0
-
-    python setup.py develop --user
-    PATH="$HOME/.local/bin:$PATH"
-    pytest -k 'not test_correct_logic and not test_compact_logic'
-
-    # 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
-
+    python -m venv --system-site-packages test-env
+    test-env/bin/python -m installer dist/*.whl
+    export PATH="$PATH:$PWD/test-env/bin" PYTHONPATH="$PWD"
+    test-env/bin/python -m pytest -v -k 'not test_correct_logic and not 
test_compact_logic'
 }
 
 package() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hy/-/commit/a373a17cddfc063462c70cd8ceb0473c52dbddfb

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/hy/-/commit/a373a17cddfc063462c70cd8ceb0473c52dbddfb
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to