pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-bc-python-hcl2: Update to 0.3.12
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Thu Jan 21 11:11:45 2021 +0100
Changeset: 1c91cb14be862535d64445d36dc00f038906661d
Modified Files:
py-bc-python-hcl2/Makefile
py-bc-python-hcl2/PLIST
py-bc-python-hcl2/distinfo
Added Files:
py-bc-python-hcl2/patches/patch-setup.py
Log Message:
py-bc-python-hcl2: Update to 0.3.12
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=1c91cb14be862535d64445d36dc00f038906661d
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-bc-python-hcl2/Makefile | 8 ++++++--
py-bc-python-hcl2/PLIST | 2 +-
py-bc-python-hcl2/distinfo | 9 +++++----
py-bc-python-hcl2/patches/patch-setup.py | 20 ++++++++++++++++++++
4 files changed, 32 insertions(+), 7 deletions(-)
diffs:
diff --git a/py-bc-python-hcl2/Makefile b/py-bc-python-hcl2/Makefile
index 9eb3815ed2..cb13cd48a1 100644
--- a/py-bc-python-hcl2/Makefile
+++ b/py-bc-python-hcl2/Makefile
@@ -1,7 +1,8 @@
# $NetBSD$
-DISTNAME= bc-python-hcl2-0.3.11
+DISTNAME= bc-python-hcl2-0.3.12
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+PKGVERSION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/bc-python-hcl2/}
@@ -10,9 +11,12 @@ HOMEPAGE= https://github.com/amplify-education/python-hcl2
COMMENT= Parser for HCL2
LICENSE= mit
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
+
DEPENDS+= ${PYPKGPREFIX}-lark-parser>=0.7.8:../../wip/py-lark-parser
-USE_LANGUAGES= # none
+post-extract:
+ ${MV} ${WRKSRC}/bin/hcl2tojson ${WRKSRC}/bin/hcl2tojson${PYVERSSUFFIX}
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/py-bc-python-hcl2/PLIST b/py-bc-python-hcl2/PLIST
index 65b57a52cb..45ce7700a1 100644
--- a/py-bc-python-hcl2/PLIST
+++ b/py-bc-python-hcl2/PLIST
@@ -1,5 +1,5 @@
@comment $NetBSD$
-bin/hcl2tojson
+bin/hcl2tojson${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
diff --git a/py-bc-python-hcl2/distinfo b/py-bc-python-hcl2/distinfo
index d14a21a2e3..1efa8669e1 100644
--- a/py-bc-python-hcl2/distinfo
+++ b/py-bc-python-hcl2/distinfo
@@ -1,6 +1,7 @@
$NetBSD$
-SHA1 (bc-python-hcl2-0.3.11.tar.gz) = 5e27eb376214e217024867e0fb4d8addb2fe3c4e
-RMD160 (bc-python-hcl2-0.3.11.tar.gz) = bd650ca2522f9e4b46b337454fff23cde5916bc2
-SHA512 (bc-python-hcl2-0.3.11.tar.gz) = 4245aed94012108767d2c14e7c1345c32335642a0bc74bc60bc38cfe0b6649fd8f2a98be6094a196529a82facaca3df026566bccd928efd7b85961e27fb8cf2a
-Size (bc-python-hcl2-0.3.11.tar.gz) = 46442 bytes
+SHA1 (bc-python-hcl2-0.3.12.tar.gz) = 1c1a5acde83edd737c5a0b6c680032c72a908f47
+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
diff --git a/py-bc-python-hcl2/patches/patch-setup.py b/py-bc-python-hcl2/patches/patch-setup.py
new file mode 100644
index 0000000000..d841fd143b
--- /dev/null
+++ b/py-bc-python-hcl2/patches/patch-setup.py
@@ -0,0 +1,20 @@
+$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