Index: sysutils/Makefile =================================================================== --- sysutils/Makefile (revision 490799) +++ sysutils/Makefile (working copy) @@ -998,6 +998,7 @@ SUBDIR += py-ranger SUBDIR += py-salt SUBDIR += py-scandir + SUBDIR += py-scarab SUBDIR += py-scriptine SUBDIR += py-shutilwhich SUBDIR += py-stdiff Index: sysutils/py-scarab/Makefile =================================================================== --- sysutils/py-scarab/Makefile (nonexistent) +++ sysutils/py-scarab/Makefile (working copy) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= scarab +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.2 +CATEGORIES= sysutils python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= driesm.michiels@gmail.com +COMMENT= CLI interface for FreeBSD Bugzilla + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-magic>=0:devel/py-python-magic@${PY_FLAVOR} + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}coverage>=0:devel/py-coverage@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} + +USES= python:3.4+ +USE_PYTHON= autoplist concurrent distutils + +USE_GITHUB= yes +GH_ACCOUNT= gonzoua + +NO_ARCH= yes + +SUB_FILES= pkg-message + +PORTDOCS= README.md +PORTEXAMPLES= scarabrc + +OPTIONS_DEFINE= DOCS EXAMPLES + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_MAN} ${WRKSRC}/examples/scarabrc ${STAGEDIR}${EXAMPLESDIR} + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Property changes on: sysutils/py-scarab/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-scarab/distinfo =================================================================== --- sysutils/py-scarab/distinfo (nonexistent) +++ sysutils/py-scarab/distinfo (working copy) @@ -0,0 +1,3 @@ +TIMESTAMP = 1548097863 +SHA256 (gonzoua-scarab-v0.1.2_GH0.tar.gz) = 77280019dfcc7acd936aa73180460923bb4f8d8aa38f023043bbfa2fdca2e26a +SIZE (gonzoua-scarab-v0.1.2_GH0.tar.gz) = 13746 Property changes on: sysutils/py-scarab/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-scarab/files/pkg-message.in =================================================================== --- sysutils/py-scarab/files/pkg-message.in (nonexistent) +++ sysutils/py-scarab/files/pkg-message.in (working copy) @@ -0,0 +1,7 @@ +Before you can manipulate PRs with this program in FreeBSD Bugzilla +you have to create an API key and copy it in your config file. + +Login -> Preferences -> API keys -> Generate a new API key + +The config file is probed from your home directory as ".scarabrc". +A sample scarabrc config file is located under %%EXAMPLESDIR%%. Property changes on: sysutils/py-scarab/files/pkg-message.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: sysutils/py-scarab/pkg-descr =================================================================== --- sysutils/py-scarab/pkg-descr (nonexistent) +++ sysutils/py-scarab/pkg-descr (working copy) @@ -0,0 +1,5 @@ +scarab is a CLI tool to automate some of the Bugzilla-related workflows +in the FreeBSD project. Common commands are fetching, attaching +and creating PR's from the command line. + +WWW: https://github.com/gonzoua/scarab Property changes on: sysutils/py-scarab/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property