[arch-commits] Commit in hy/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Jul 4 21:41:13 UTC 2018


    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
===================================================================
--- PKGBUILD	2018-07-04 21:27:25 UTC (rev 352225)
+++ PKGBUILD	2018-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



More information about the arch-commits mailing list