mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
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
This commit is contained in:
parent
7af61c791d
commit
767d515ad9
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user