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

Morten Linderud foxboron at archlinux.org
Tue Jan 26 22:09:49 UTC 2021


    Date: Tuesday, January 26, 2021 @ 22:09:49
  Author: foxboron
Revision: 831057

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-26 22:09:41 UTC (rev 831056)
+++ PKGBUILD	2021-01-26 22:09:49 UTC (rev 831057)
@@ -1,63 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: JP Cimalando <jp-dev at inbox.ru>
-
-pkgname=hy
-pkgver=0.19.0
-pkgrel=3
-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")
-sha256sums=('3a24f02a22ab8679783b1b817eba5fd1cfa1b9fb334e16fad74fc1887d257efc')
-
-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'"
-
-    # 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() {
-    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 831056, hy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-26 22:09:49 UTC (rev 831057)
@@ -0,0 +1,63 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: JP Cimalando <jp-dev at inbox.ru>
+
+pkgname=hy
+pkgver=0.20.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')
+checkdepends=('python-pytest' 'python-pytest-runner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/hylang/hy/archive/$pkgver.tar.gz")
+sha256sums=('d4a96426e5367e170b3c245e3fa222c99f04d3f646e037c6f45b58376ad88020')
+
+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'"
+
+    # 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() {
+    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