[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Thursday, November 12, 2020 @ 19:09:33 Author: felixonmars Revision: 753349 upgpkg: hy 0.19.0-3: Python 3.9 rebuild Modified: hy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-11-12 19:08:03 UTC (rev 753348) +++ PKGBUILD2020-11-12 19:09:33 UTC (rev 753349) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.19.0 -pkgrel=2 +pkgrel=3 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/;
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Thursday, July 16, 2020 @ 21:13:52 Author: foxboron Revision: 664214 upgpkg: hy 0.19.0-2 Modified: hy/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-07-16 21:10:30 UTC (rev 664213) +++ PKGBUILD2020-07-16 21:13:52 UTC (rev 664214) @@ -2,7 +2,7 @@ # Contributor: JP Cimalando pkgname=hy -pkgver=0.18.0 +pkgver=0.19.0 pkgrel=2 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') @@ -12,7 +12,7 @@ makedepends=('python-setuptools') checkdepends=('python-pytest' 'python-pytest-runner') source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz;) -sha256sums=('0712b601e604bd9829d516a4a6092399bc344e7e00de71a62629c5630af889b5') +sha256sums=('3a24f02a22ab8679783b1b817eba5fd1cfa1b9fb334e16fad74fc1887d257efc') prepare() { cd "$pkgname-$pkgver"
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Tuesday, July 14, 2020 @ 12:47:04 Author: foxboron Revision: 663749 upgpkg: hy 0.18.0-2 - reproducible builds Modified: hy/trunk/PKGBUILD --+ PKGBUILD | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2020-07-14 12:39:10 UTC (rev 663748) +++ PKGBUILD2020-07-14 12:47:04 UTC (rev 663749) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.18.0 -pkgrel=1 +pkgrel=2 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -29,9 +29,30 @@ check(){ cd "$pkgname-$pkgver" + python setup.py develop --user PATH="$HOME/.local/bin:$PATH" python setup.py pytest #--addopts "-k 'not test_bin'" + +# 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__/hy_repr.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__/bootstrap.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" +done + } package() {
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Monday, February 3, 2020 @ 20:33:40 Author: foxboron Revision: 561978 upgpkg: hy 0.18.0-1 Modified: hy/trunk/PKGBUILD --+ PKGBUILD | 12 1 file changed, 4 insertions(+), 8 deletions(-) Modified: PKGBUILD === --- PKGBUILD2020-02-03 20:32:05 UTC (rev 561977) +++ PKGBUILD2020-02-03 20:33:40 UTC (rev 561978) @@ -2,8 +2,8 @@ # Contributor: JP Cimalando pkgname=hy -pkgver=0.17.0 -pkgrel=2 +pkgver=0.18.0 +pkgrel=1 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -11,16 +11,12 @@ 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; -python-3.8.patch) -md5sums=('fc719573093f14caba2fade84a8d11e9' - '5f8c4d26d959168f88faaccc8b4dfb6c') +source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz;) +sha256sums=('0712b601e604bd9829d516a4a6092399bc344e7e00de71a62629c5630af889b5') prepare() { cd "$pkgname-$pkgver" -patch -Np1 -i ../python-3.8.patch - # usually generated from git metadata and aded to PyPI sdist # PyPI does not include testsuite files. echo "__version__ = '$pkgver'" > hy/version.py
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Sunday, November 10, 2019 @ 08:31:04 Author: felixonmars Revision: 524936 Python 3.8 rebuild Modified: hy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2019-11-10 08:29:46 UTC (rev 524935) +++ PKGBUILD2019-11-10 08:31:04 UTC (rev 524936) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.17.0 -pkgrel=1 +pkgrel=2 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/;
[arch-commits] Commit in hy/trunk (PKGBUILD python-3.8.patch)
Date: Sunday, November 10, 2019 @ 08:29:46 Author: foutrelis Revision: 524935 Add two upstream Python 3.8 fixes Added: hy/trunk/python-3.8.patch Modified: hy/trunk/PKGBUILD --+ PKGBUILD |8 - python-3.8.patch | 73 + 2 files changed, 79 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-11-10 08:09:52 UTC (rev 524934) +++ PKGBUILD2019-11-10 08:29:46 UTC (rev 524935) @@ -11,12 +11,16 @@ 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=('fc719573093f14caba2fade84a8d11e9') +source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz; +python-3.8.patch) +md5sums=('fc719573093f14caba2fade84a8d11e9' + '5f8c4d26d959168f88faaccc8b4dfb6c') prepare() { cd "$pkgname-$pkgver" +patch -Np1 -i ../python-3.8.patch + # usually generated from git metadata and aded to PyPI sdist # PyPI does not include testsuite files. echo "__version__ = '$pkgver'" > hy/version.py Added: python-3.8.patch === --- python-3.8.patch(rev 0) +++ python-3.8.patch2019-11-10 08:29:46 UTC (rev 524935) @@ -0,0 +1,73 @@ +From 563f27632c95d709f6685e469b7c1e97be1c38e7 Mon Sep 17 00:00:00 2001 +From: Kodi Arfer +Date: Tue, 4 Jun 2019 16:03:52 -0400 +Subject: [PATCH 1/2] Fix crashes on the new Python 3.8 alpha + +--- + hy/_compat.py | 4 +++- + hy/compiler.py | 3 ++- + 2 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/hy/_compat.py b/hy/_compat.py +index a2ab7a5..da31477 100644 +--- a/hy/_compat.py b/hy/_compat.py +@@ -37,10 +37,12 @@ if PY3: + finally: + traceback = None + +-code_obj_args = ['argcount', 'kwonlyargcount', 'nlocals', 'stacksize', ++code_obj_args = ['argcount', 'posonlyargcount', 'kwonlyargcount', 'nlocals', 'stacksize', + 'flags', 'code', 'consts', 'names', 'varnames', + 'filename', 'name', 'firstlineno', 'lnotab', 'freevars', + 'cellvars'] ++if not PY38: ++code_obj_args.remove("posonlyargcount") + else: + def raise_from(value, from_value=None): + raise value +diff --git a/hy/compiler.py b/hy/compiler.py +index 9a20daf..ddb75da 100755 +--- a/hy/compiler.py b/hy/compiler.py +@@ -1145,7 +1145,7 @@ class HyASTCompiler(object): + expr, + name=fname, + args=ast.arguments( +-args=[], vararg=None, kwarg=None, ++args=[], vararg=None, kwarg=None, posonlyargs=[], + kwonlyargs=[], kw_defaults=[], defaults=[]), + body=f(parts).stmts, + decorator_list=[]) +@@ -1524,6 +1524,7 @@ class HyASTCompiler(object): + args = ast.arguments( + args=main_args, defaults=defaults, + vararg=rest, ++posonlyargs=[], + kwonlyargs=kwonly, kw_defaults=kw_defaults, + kwarg=kwargs) + + +From 9af02dd0a4e8ffe8234e42cf834fbdcf1e12b301 Mon Sep 17 00:00:00 2001 +From: Kodi Arfer +Date: Mon, 10 Jun 2019 16:12:46 -0400 +Subject: [PATCH 2/2] Fix a test for Python 3.8.0b1 + +`int`, among other types, no longer has a `__str__` method, so `(str '3)` now returns "(HyInteger 3)" instead of "3". +--- + tests/native_tests/native_macros.hy | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tests/native_tests/native_macros.hy b/tests/native_tests/native_macros.hy +index 835939e..e320143 100644 +--- a/tests/native_tests/native_macros.hy b/tests/native_tests/native_macros.hy +@@ -391,7 +391,7 @@ in expansions." + ;; Now, let's use a `require`d macro that depends on another macro defined only + ;; in this scope. + (defmacro local-test-macro [x] +-(.format "This is the local version of `nonlocal-test-macro` returning {}!" x)) ++(.format "This is the local version of `nonlocal-test-macro` returning {}!" (int x))) + + (assert (= "This is the local version of `nonlocal-test-macro` returning 3!" + (test-module-macro-2 3)))
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Sunday, June 2, 2019 @ 13:47:37 Author: foxboron Revision: 476606 upgpkg: hy 0.17.0-1 Modified: hy/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2019-06-02 13:46:30 UTC (rev 476605) +++ PKGBUILD2019-06-02 13:47:37 UTC (rev 476606) @@ -2,8 +2,8 @@ # Contributor: JP Cimalando pkgname=hy -pkgver=0.15.0 -pkgrel=2 +pkgver=0.17.0 +pkgrel=1 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -12,7 +12,7 @@ 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') +md5sums=('fc719573093f14caba2fade84a8d11e9') prepare() { cd "$pkgname-$pkgver"
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Saturday, December 29, 2018 @ 15:13:11 Author: foxboron Revision: 418845 upgpkg: hy 0.15.0-2 Modified: hy/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-12-29 14:33:47 UTC (rev 418844) +++ PKGBUILD2018-12-29 15:13:11 UTC (rev 418845) @@ -3,12 +3,12 @@ pkgname=hy pkgver=0.15.0 -pkgrel=1 +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') +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;)
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Sunday, July 29, 2018 @ 20:20:58 Author: foxboron Revision: 364892 upgpkg: hy 0.15.0-1 Modified: hy/trunk/PKGBUILD --+ PKGBUILD |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-29 20:17:46 UTC (rev 364891) +++ PKGBUILD2018-07-29 20:20:58 UTC (rev 364892) @@ -31,7 +31,7 @@ cd "$pkgname-$pkgver" python setup.py develop --user PATH="$HOME/.local/bin:$PATH" -python setup.py pytest --addopts "-k 'not test_bin'" +python setup.py pytest #--addopts "-k 'not test_bin'" } package() {
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Sunday, July 29, 2018 @ 14:03:22 Author: heftig Revision: 364513 0.15.0-1 Modified: hy/trunk/PKGBUILD (contents, properties) --+ PKGBUILD |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-29 14:00:42 UTC (rev 364512) +++ PKGBUILD2018-07-29 14:03:22 UTC (rev 364513) @@ -2,8 +2,8 @@ # Contributor: JP Cimalando pkgname=hy -pkgver=0.14.0 -pkgrel=5 +pkgver=0.15.0 +pkgrel=1 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -12,7 +12,7 @@ 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') +md5sums=('74e6def3be716730706ff273bfa648eb') prepare() { cd "$pkgname-$pkgver" @@ -29,6 +29,8 @@ check(){ cd "$pkgname-$pkgver" +python setup.py develop --user +PATH="$HOME/.local/bin:$PATH" python setup.py pytest --addopts "-k 'not test_bin'" } Property changes on: hy/trunk/PKGBUILD ___ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Wednesday, July 4, 2018 @ 21:41:12 Author: eschwartz Revision: 352226 upgpkg: hy 0.14.0-5 set version Modified: hy/trunk/PKGBUILD --+ PKGBUILD | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) Modified: PKGBUILD === --- PKGBUILD2018-07-04 21:27:25 UTC (rev 352225) +++ PKGBUILD2018-07-04 21:41:12 UTC (rev 352226) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.14.0 -pkgrel=4 +pkgrel=5 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -14,6 +14,14 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz;) md5sums=('49f088476ba9eb3c0993299456a8eae5') +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
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Wednesday, July 4, 2018 @ 21:09:40 Author: foxboron Revision: 352208 upgpkg: hy 0.14.0-4 Woopsie daisy. Two package functions Modified: hy/trunk/PKGBUILD --+ PKGBUILD |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-04 21:09:20 UTC (rev 352207) +++ PKGBUILD2018-07-04 21:09:40 UTC (rev 352208) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.14.0 -pkgrel=3 +pkgrel=4 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -14,7 +14,7 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz;) md5sums=('49f088476ba9eb3c0993299456a8eae5') -package() { +build() { cd "$pkgname-$pkgver" python setup.py build } @@ -26,7 +26,7 @@ package() { cd "$pkgname-$pkgver" -python setup.py install --root="$pkgdir/" --optimize=1 +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" }
[arch-commits] Commit in hy/trunk (PKGBUILD)
Date: Wednesday, July 4, 2018 @ 20:46:59 Author: foxboron Revision: 352196 upgpkg: hy 0.14.0-3 Rebuild for source code Modified: hy/trunk/PKGBUILD --+ PKGBUILD |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Modified: PKGBUILD === --- PKGBUILD2018-07-04 20:45:59 UTC (rev 352195) +++ PKGBUILD2018-07-04 20:46:59 UTC (rev 352196) @@ -3,7 +3,7 @@ pkgname=hy pkgver=0.14.0 -pkgrel=2 +pkgrel=3 pkgdesc="A dialect of Lisp that's embedded in Python" arch=('any') url="http://hylang.org/; @@ -26,7 +26,7 @@ package() { cd "$pkgname-$pkgver" -python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +python setup.py install --root="$pkgdir/" --optimize=1 install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" rm -rf "$pkgdir/usr/get_version" }