[arch-commits] Commit in hy/repos/community-any (PKGBUILD PKGBUILD)

Morten Linderud foxboron at gemini.archlinux.org
Wed Jan 12 14:54:06 UTC 2022


    Date: Wednesday, January 12, 2022 @ 14:54:06
  Author: foxboron
Revision: 1101601

archrelease: copy trunk to community-any

Added:
  hy/repos/community-any/PKGBUILD
    (from rev 1101600, hy/trunk/PKGBUILD)
Deleted:
  hy/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  125 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 61 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-12 14:53:59 UTC (rev 1101600)
+++ PKGBUILD	2022-01-12 14:54:06 UTC (rev 1101601)
@@ -1,64 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: JP Cimalando <jp-dev at inbox.ru>
-
-pkgname=hy
-pkgver=1.0a3
-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')
-checkdepends=('python-pytest' 'python-pytest-runner')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz"
-	"fix-linetable.patch::https://github.com/hylang/hy/commit/b04d3ddbf98e6c7b39979ce15f678bfc64f98e56.patch")
-sha256sums=('cfc1d554c7859016794e33adf8093129de1c7d8c999a633e2ea7e654d487c555'
-            '7642e8306fdb8d8a24cb42923e46732766c8adcd30d6903627b6efaee7d88dfe')
-
-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
-    patch -Np1 < "$srcdir/fix-linetable.patch"
-}
-
-build() {
-    cd "$pkgname-$pkgver"
-    python setup.py build
-}
-
-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 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 1101600, hy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-01-12 14:54:06 UTC (rev 1101601)
@@ -0,0 +1,61 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: JP Cimalando <jp-dev at inbox.ru>
+
+pkgname=hy
+pkgver=1.0a4
+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')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz")
+sha256sums=('3cc60daa17071027248b027de9ab47ba7ec15a1b020651fcc8362a825b52ca1b')
+
+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"
+    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 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"
+}



More information about the arch-commits mailing list