mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
PORTNAME= gitfs
|
|
DISTVERSION= 0.5.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= filesystems devel
|
|
PKGNAMEPREFIX= fusefs-
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Version controlled file system
|
|
WWW= https://www.presslabs.com/code/gitfs/
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
DEPRECATED= Abandonware, last release on 2019
|
|
EXPIRATION_DATE=2024-12-31
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}atomiclong>=0.1.1:devel/py-atomiclong@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}cffi>=1.12.3:devel/py-cffi@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}fusepy>=3.0.1:filesystems/py-fusepy@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pycparser>=2.19:devel/py-pycparser@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}pygit2>=0.28.2:devel/py-pygit2@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}raven>=6.10.0:devel/py-raven@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}six>=1.12.0:devel/py-six@${PY_FLAVOR}
|
|
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=4.6.5:devel/py-pytest@${PY_FLAVOR}
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= PressLabs
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_PYTHON= autoplist distutils concurrent optsuffix
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/==/>=/' ${WRKSRC}/*requirements.txt
|
|
|
|
# XXX Integrations tests want MOUNT_PATH, REPO_* passed via TEST_ENV
|
|
do-test:
|
|
@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest)
|
|
|
|
post-patch: patch-py3k-mock
|
|
patch-py3k-mock:
|
|
@${GREP} -Flr 'mock import' ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
|
|
-i .bak.mock -e 's/mock import/unittest.&/'
|
|
|
|
.include <bsd.port.mk>
|