git: 767d515ad92f - main - textproc/py-textfsm: Switch back to PyPI
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 10:30:06 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=767d515ad92fa2c64266f715135cb978cc881de8 commit 767d515ad92fa2c64266f715135cb978cc881de8 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-06-08 10:18:02 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-06-08 10:29:46 +0000 textproc/py-textfsm: Switch back to PyPI * During QA tests of net-mgmt/py-napalm, runtime errors occured because the egg-info of py-textfsm still had version information of the prior release (= 1.1.2). This was because when version 1.1.3 was released, it was already available in the upstream repository, but there was no sdist available at PyPI yet. This was then made up by upstream some months later with a corresponding adjustment for the egg-info: https://github.com/google/textfsm/compare/v1.1.3...ca3755dc Therefore, switch back to PyPI, which is the preferred method with respect to Python ports and bump PORTREVISION due package change. While I'm here: * Re-evaluate and remove no longer required BUILD_DEPENDS. * Simplify Makefile by switching to USE_PYTHON=pytest. MFH: 2023Q2 --- textproc/py-textfsm/Makefile | 14 ++++---------- textproc/py-textfsm/distinfo | 6 +++--- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/textproc/py-textfsm/Makefile b/textproc/py-textfsm/Makefile index 78e23a401ee9..98e5f2d17e2c 100644 --- a/textproc/py-textfsm/Makefile +++ b/textproc/py-textfsm/Makefile @@ -1,7 +1,8 @@ PORTNAME= textfsm -DISTVERSIONPREFIX= v DISTVERSION= 1.1.3 +PORTREVISION= 1 CATEGORIES= textproc python +MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kai@FreeBSD.org @@ -11,21 +12,14 @@ WWW= https://github.com/google/textfsm LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/COPYING -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} +BUILD_DEPENDS= ${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:3.6+ -USE_GITHUB= yes -GH_ACCOUNT= google -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent distutils pytest NO_ARCH= yes -do-test: - @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs - .include <bsd.port.mk> diff --git a/textproc/py-textfsm/distinfo b/textproc/py-textfsm/distinfo index df9fb9949b75..08362d09108e 100644 --- a/textproc/py-textfsm/distinfo +++ b/textproc/py-textfsm/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1648158435 -SHA256 (google-textfsm-v1.1.3_GH0.tar.gz) = b11e4ac4d7e4793449deff3fb90c8ba85e223343670eec0ae5c5c8e94f479f34 -SIZE (google-textfsm-v1.1.3_GH0.tar.gz) = 51296 +TIMESTAMP = 1686207535 +SHA256 (textfsm-1.1.3.tar.gz) = 577ef278a9237f5341ae9b682947cefa4a2c1b24dbe486f94f2c95addc6504b5 +SIZE (textfsm-1.1.3.tar.gz) = 55454