View | Details | Raw Unified | Return to bug 235117
Collapse All | Expand All

(-)sysutils/Makefile (+1 lines)
Lines 998-1003 Link Here
998
    SUBDIR += py-ranger
998
    SUBDIR += py-ranger
999
    SUBDIR += py-salt
999
    SUBDIR += py-salt
1000
    SUBDIR += py-scandir
1000
    SUBDIR += py-scandir
1001
    SUBDIR += py-scarab
1001
    SUBDIR += py-scriptine
1002
    SUBDIR += py-scriptine
1002
    SUBDIR += py-shutilwhich
1003
    SUBDIR += py-shutilwhich
1003
    SUBDIR += py-stdiff
1004
    SUBDIR += py-stdiff
(-)sysutils/py-scarab/Makefile (+47 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=		scarab
4
DISTVERSIONPREFIX=      v
5
DISTVERSION=            0.1.2
6
CATEGORIES=		sysutils python
7
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
8
9
MAINTAINER=	driesm.michiels@gmail.com
10
COMMENT=	CLI interface for FreeBSD Bugzilla
11
12
LICENSE=	BSD3CLAUSE
13
LICENSE_FILE=	${WRKSRC}/LICENSE
14
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR}
16
17
TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
19
		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR}
20
21
USES=		python:3.4+
22
USE_PYTHON=	autoplist concurrent distutils
23
24
USE_GITHUB=	yes
25
GH_ACCOUNT=	gonzoua
26
27
NO_ARCH=	yes
28
29
SUB_FILES=      pkg-message
30
31
PORTDOCS=	README.md
32
PORTEXAMPLES=	scarabrc
33
34
OPTIONS_DEFINE= DOCS EXAMPLES
35
36
post-install-DOCS-on:
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
39
40
post-install-EXAMPLES-on:
41
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
42
	${INSTALL_MAN} ${WRKSRC}/examples/scarabrc ${STAGEDIR}${EXAMPLESDIR}
43
44
do-test:
45
	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
46
47
.include <bsd.port.mk>
(-)sysutils/py-scarab/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1548097863
2
SHA256 (gonzoua-scarab-v0.1.2_GH0.tar.gz) = 77280019dfcc7acd936aa73180460923bb4f8d8aa38f023043bbfa2fdca2e26a
3
SIZE (gonzoua-scarab-v0.1.2_GH0.tar.gz) = 13746
(-)sysutils/py-scarab/files/pkg-message.in (+7 lines)
Line 0 Link Here
1
Before you can manipulate PRs with this program in FreeBSD Bugzilla
2
you have to create an API key and copy it in your config file.
3
4
Login -> Preferences -> API keys -> Generate a new API key
5
6
The config file is probed from your home directory as ".scarabrc".
7
A sample scarabrc config file is located under %%EXAMPLESDIR%%.
(-)sysutils/py-scarab/pkg-descr (+5 lines)
Line 0 Link Here
1
scarab is a CLI tool to automate some of the Bugzilla-related workflows
2
in the FreeBSD project. Common commands are fetching, attaching
3
and creating PR's from the command line.
4
5
WWW: https://github.com/gonzoua/scarab

Return to bug 235117