pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-bc-python-hcl2: Update to version 0.3.24
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Thu Oct 14 02:46:45 2021 +0200
Changeset: ba672cd3d7dd4a14167fa89bc4d15c90b073dcec
Modified Files:
py-bc-python-hcl2/Makefile
py-bc-python-hcl2/distinfo
Added Files:
py-bc-python-hcl2/ALTERNATIVES
Removed Files:
py-bc-python-hcl2/patches/patch-setup.py
Log Message:
py-bc-python-hcl2: Update to version 0.3.24
pkgsrc changes:
- Use post-install: target to add version suffix to avoid patching
- Add ALTERNATIVES
Changes:
No changelog available
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=ba672cd3d7dd4a14167fa89bc4d15c90b073dcec
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-bc-python-hcl2/ALTERNATIVES | 1 +
py-bc-python-hcl2/Makefile | 12 ++++++------
py-bc-python-hcl2/distinfo | 7 +++----
py-bc-python-hcl2/patches/patch-setup.py | 20 --------------------
4 files changed, 10 insertions(+), 30 deletions(-)
diffs:
diff --git a/py-bc-python-hcl2/ALTERNATIVES b/py-bc-python-hcl2/ALTERNATIVES
new file mode 100644
index 0000000000..3040f3f6bb
--- /dev/null
+++ b/py-bc-python-hcl2/ALTERNATIVES
@@ -0,0 +1 @@
+bin/hcl2tojson @PREFIX@/bin/hcl2tojson@PYVERSSUFFIX@
diff --git a/py-bc-python-hcl2/Makefile b/py-bc-python-hcl2/Makefile
index cb13cd48a1..096bedfd2e 100644
--- a/py-bc-python-hcl2/Makefile
+++ b/py-bc-python-hcl2/Makefile
@@ -1,8 +1,7 @@
# $NetBSD$
-DISTNAME= bc-python-hcl2-0.3.12
+DISTNAME= bc-python-hcl2-0.3.24
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGVERSION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bc-python-hcl2/}
@@ -11,12 +10,13 @@ HOMEPAGE= https://github.com/amplify-education/python-hcl2
COMMENT= Parser for HCL2
LICENSE= mit
-PYTHON_VERSIONS_INCOMPATIBLE+= 27
+DEPENDS+= ${PYPKGPREFIX}-lark-parser>=0.10.0:../../wip/py-lark-parser
-DEPENDS+= ${PYPKGPREFIX}-lark-parser>=0.7.8:../../wip/py-lark-parser
+# Only for Python 3.x
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
-post-extract:
- ${MV} ${WRKSRC}/bin/hcl2tojson ${WRKSRC}/bin/hcl2tojson${PYVERSSUFFIX}
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/hcl2tojson ${DESTDIR}${PREFIX}/bin/hcl2tojson${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-bc-python-hcl2/distinfo b/py-bc-python-hcl2/distinfo
index a8d3ceeb02..01e1dc0b64 100644
--- a/py-bc-python-hcl2/distinfo
+++ b/py-bc-python-hcl2/distinfo
@@ -1,6 +1,5 @@
$NetBSD$
-RMD160 (bc-python-hcl2-0.3.12.tar.gz) = 60c6373390ad0508e60b55305673cba0b838e139
-SHA512 (bc-python-hcl2-0.3.12.tar.gz) = 7ab7a596bab9c2c11b0569df76e5b9bb71a1b39412d62a8022eee987f00b1eb0712d7f3c6b2c8399e9960d76b6d9698bd50dcc5f93cf587f496e78cfc23f1147
-Size (bc-python-hcl2-0.3.12.tar.gz) = 46386 bytes
-SHA1 (patch-setup.py) = a665cff7537fa90550b17af68df7e6454eacaa69
+RMD160 (bc-python-hcl2-0.3.24.tar.gz) = edb4f7190966cb349d62e058f84f9bf96150ffce
+SHA512 (bc-python-hcl2-0.3.24.tar.gz) = 21d8f1021dc6020acec7569a25a63a0861b52c1cf5f93c5a1adde8c14336b04f4858d8febc6c55b20d3471fda22b36c03b5be2a9e7dadbc20eaae6358441bfa0
+Size (bc-python-hcl2-0.3.24.tar.gz) = 50343 bytes
diff --git a/py-bc-python-hcl2/patches/patch-setup.py b/py-bc-python-hcl2/patches/patch-setup.py
deleted file mode 100644
index d841fd143b..0000000000
--- a/py-bc-python-hcl2/patches/patch-setup.py
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD$
-
---- setup.py.orig 2021-01-12 18:49:20.000000000 +0000
-+++ setup.py
-@@ -1,6 +1,7 @@
- """setup.py controls the build, testing, and distribution of the egg"""
- import re
- import os.path
-+import sys
- from setuptools import setup, find_packages
-
- VERSION_REGEX = re.compile(r"""
-@@ -65,6 +66,6 @@ setup(
- install_requires=get_requirements(),
- test_suite='nose.collector',
- scripts=[
-- 'bin/hcl2tojson',
-+ 'bin/hcl2tojson'+sys.version[0:3],
- ],
- )
Home |
Main Index |
Thread Index |
Old Index