Skip to content

Commit

Permalink
devel/py-yattag: update 1.14.0 → 1.15.0
Browse files Browse the repository at this point in the history
Also switch to pytest testing
  • Loading branch information
AMDmi3 committed Jan 9, 2023
1 parent 63a2246 commit df5e967
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
12 changes: 4 additions & 8 deletions devel/py-yattag/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,19 @@
PORTNAME= yattag
PORTVERSION= 1.14.0
PORTVERSION= 1.15.0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Generate HTML or XML in a pythonic way
WWW= https://www.yattag.org/
WWW= https://www.yattag.org/ \
https://github.com/leforestier/yattag

LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/license/lgpl-2.1.txt

TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py-nose@${PY_FLAVOR}

USES= python:3.6+
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist distutils pytest
NO_ARCH= yes

do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/py-yattag/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1598183508
SHA256 (yattag-1.14.0.tar.gz) = 5731a31cb7452c0c6930dd1a284e0170b39eee959851a2aceb8d6af4134a5fa8
SIZE (yattag-1.14.0.tar.gz) = 26857
TIMESTAMP = 1673265264
SHA256 (yattag-1.15.0.tar.gz) = 6a9ff3fd330a60287804ea7370a84166b624ebf4b7ad9ed788b7c57779b65263
SIZE (yattag-1.15.0.tar.gz) = 28586
8 changes: 8 additions & 0 deletions devel/py-yattag/files/patch-setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- setup.cfg.orig 2023-01-02 11:51:34 UTC
+++ setup.cfg
@@ -2,3 +2,5 @@
tag_build =
tag_date = 0

+[tool:pytest]
+python_files = tests_*.py

0 comments on commit df5e967

Please sign in to comment.