Skip to content

Commit

Permalink
sysutils/zsm: Update to 0.3.0
Browse files Browse the repository at this point in the history
- Move library code from zsm-lib into zsm.
- Remove dependency on sarge.
- Update dependencies to newer versions.

PR:		258353
  • Loading branch information
thnee authored and kev009 committed Sep 11, 2021
1 parent 2ecf0c0 commit 68b1757
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
15 changes: 8 additions & 7 deletions sysutils/zsm/Makefile
@@ -1,5 +1,5 @@
PORTNAME= zsm
PORTVERSION= 0.2.0
PORTVERSION= 0.3.0
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP

Expand All @@ -9,17 +9,18 @@ COMMENT= ZFS Snapshot Manager
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE

RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=6.7:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pid>=2.2.0:devel/py-pid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}zsm-lib>=0.2.0:devel/py-zsm-lib@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=3.6.4:devel/py-pytest@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.1.2:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pid>=3.0.4:devel/py-pid@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}yaml>=5.4.1:devel/py-yaml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}marshmallow>=3.13.0:devel/py-marshmallow@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}

USES= python:3.6+
USES= python:3.7+
USE_PYTHON= autoplist distutils noflavors

NO_ARCH= yes

do-test:
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} LC_ALL=en_US.UTF-8 ${PYTHON_CMD} -m pytest)
@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions sysutils/zsm/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1545507449
SHA256 (zsm-0.2.0.tar.gz) = 098d8ca87f8e92560b2b69ef5aff6835428bd64da599d01493946f311cf15a53
SIZE (zsm-0.2.0.tar.gz) = 4760
TIMESTAMP = 1631046880
SHA256 (zsm-0.3.0.tar.gz) = ad9a7efc8a13483530b095b88cb1eea448f7e3c05af79d0548134a9848cc958c
SIZE (zsm-0.3.0.tar.gz) = 9583
3 changes: 0 additions & 3 deletions sysutils/zsm/pkg-descr
Expand Up @@ -4,7 +4,4 @@ A console program that manages ZFS snapshots.
- Configure a custom schedule via the config file.
- Run in background by adding it to crontab.

Technically, most of the functionality is in zsm-lib,
and zsm is just a thin console interface.

WWW: https://zsm.rtfd.io/

0 comments on commit 68b1757

Please sign in to comment.