svn commit: r527813 - in branches/2020Q1/textproc/py-textfsm: . files
Kai Knoblich
kai at FreeBSD.org
Thu Mar 5 07:32:56 UTC 2020
Author: kai
Date: Thu Mar 5 07:32:54 2020
New Revision: 527813
URL: https://svnweb.freebsd.org/changeset/ports/527813
Log:
MFH: r527810
textproc/py-textfsm: Update to 1.1.1
This update resolves a package installation conflict with
textproc/py-texttable as both ports installs "texttable.py" into the same
place. [1]
Also while I'm here:
* Switch to GitHub for a while as no sdist tarballs are available at PyPi.
* Make the port concurrent safe because it installs scripts outside of the
site-lib directory.
* Remove the "testdata" directory to prevent possible package conflicts as
it's only required for the test suite.
* Add a "do-test" target to make future QA easier.
Changelog:
https://github.com/google/textfsm/releases/tag/v1.1.0
https://github.com/google/textfsm/releases/tag/v1.1.1
PR: 244257
Reported by: John Hein <jcfyecrayz at liamekaens.com> [1]
Approved by: ports-secteam (joneum)
Added:
branches/2020Q1/textproc/py-textfsm/files/
- copied from r527810, head/textproc/py-textfsm/files/
Modified:
branches/2020Q1/textproc/py-textfsm/Makefile
branches/2020Q1/textproc/py-textfsm/distinfo
Directory Properties:
branches/2020Q1/ (props changed)
Modified: branches/2020Q1/textproc/py-textfsm/Makefile
==============================================================================
--- branches/2020Q1/textproc/py-textfsm/Makefile Thu Mar 5 07:32:12 2020 (r527812)
+++ branches/2020Q1/textproc/py-textfsm/Makefile Thu Mar 5 07:32:54 2020 (r527813)
@@ -1,9 +1,9 @@
# $FreeBSD$
PORTNAME= textfsm
-DISTVERSION= 0.4.1
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.1
CATEGORIES= textproc python
-MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= kai at FreeBSD.org
@@ -12,10 +12,21 @@ COMMENT= Parses semi-structured text into Python table
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>0:devel/py-future@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_GITHUB= yes
+GH_ACCOUNT= google
+USE_PYTHON= autoplist concurrent distutils
+
NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
.include <bsd.port.mk>
Modified: branches/2020Q1/textproc/py-textfsm/distinfo
==============================================================================
--- branches/2020Q1/textproc/py-textfsm/distinfo Thu Mar 5 07:32:12 2020 (r527812)
+++ branches/2020Q1/textproc/py-textfsm/distinfo Thu Mar 5 07:32:54 2020 (r527813)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1523365433
-SHA256 (textfsm-0.4.1.tar.gz) = 21a31e212d625d84a8c7a52f35055d536bd3a1c63d3d41ed65ee5d8bd5f29f00
-SIZE (textfsm-0.4.1.tar.gz) = 38369
+TIMESTAMP = 1582272415
+SHA256 (google-textfsm-v1.1.1_GH0.tar.gz) = 9299d54544b679ef2a477c9256ec5e906c649f8f79593b71d2bb56e1c96e6601
+SIZE (google-textfsm-v1.1.1_GH0.tar.gz) = 51340
More information about the svn-ports-all
mailing list