Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Aug 2015 16:15:10 +0800
From:      Sunpoet Hsieh <sunpoet@sunpoet.net>
To:        "Philip M. Gollucci" <pgollucci@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org,  svn-ports-head@freebsd.org
Subject:   Re: svn commit: r393188 - in head/ports-mgmt: . freebsd-bugzilla-cli
Message-ID:  <CAMHz58TXxzAp=JCLWOHWg3rcm_dXmCk8pvCVzuMHr4O5DYVzTw@mail.gmail.com>
In-Reply-To: <201507291732.t6THWjqh052864@repo.freebsd.org>
References:  <201507291732.t6THWjqh052864@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 30, 2015 at 1:32 AM, Philip M. Gollucci <pgollucci@freebsd.org>
wrote:

> Author: pgollucci
> Date: Wed Jul 29 17:32:44 2015
> New Revision: 393188
> URL: https://svnweb.freebsd.org/changeset/ports/393188
>
> Log:
>   CLI utilities and wrappers for FreeBSD's bugzilla
>   instance with emphasis on ports.Provides a consistent
>   API which can have pluggable backends.
>
>   WWW: https://github.com/pgollucci/freebsd-bugzilla-cli
>
> Added:
>   head/ports-mgmt/freebsd-bugzilla-cli/
>   head/ports-mgmt/freebsd-bugzilla-cli/Makefile   (contents, props changed)
>   head/ports-mgmt/freebsd-bugzilla-cli/distinfo   (contents, props changed)
>   head/ports-mgmt/freebsd-bugzilla-cli/pkg-descr   (contents, props
> changed)
>   head/ports-mgmt/freebsd-bugzilla-cli/pkg-plist   (contents, props
> changed)
> Modified:
>   head/ports-mgmt/Makefile
>
> Modified: head/ports-mgmt/Makefile
>
> ==============================================================================
> --- head/ports-mgmt/Makefile    Wed Jul 29 17:01:43 2015        (r393187)
> +++ head/ports-mgmt/Makefile    Wed Jul 29 17:32:44 2015        (r393188)
> @@ -10,6 +10,7 @@
>      SUBDIR += distilator
>      SUBDIR += fastest_sites
>      SUBDIR += fbsdmon
> +    SUBDIR += freebsd-bugzilla-cli
>      SUBDIR += genpatch
>      SUBDIR += genplist
>      SUBDIR += hs-porte
>
> Added: head/ports-mgmt/freebsd-bugzilla-cli/Makefile
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/ports-mgmt/freebsd-bugzilla-cli/Makefile       Wed Jul 29
> 17:32:44 2015        (r393188)
> @@ -0,0 +1,29 @@
> +# Created by: Philip M. Gollucci <pgollucci@p6m7g8.com>
> +# $FreeBSD$
> +
> +PORTNAME=      freebsd-bugzilla-cli
> +PORTVERSION=   0.0.1
> +CATEGORIES=    ports-mgmt
> +MASTER_SITES=  GH
> +
> +MAINTAINER=    pgollucci@FreeBSD.org
> +COMMENT=       Interact with the FreeBSD bugzilla instance
> +
> +LICENSE=       APACHE20
> +
> +OPTIONS_GROUP= BACKEND
> +OPTIONS_GROUP_BACKEND= PYBUGZ
>

Unless you have more backend options, it seems "OPTIONS_DEFINE=PYBUGZ" is
enough.


> +OPTIONS_SET=   PYBUGZ
>

OPTIONS_SET is designed for users (make.conf).
Please use "OPTIONS_DEFAULT=PYBUGZ" here.

Regards,
sunpoet

+OPTIONS_SUB=   yes
> +
> +PYBUGZ_DESC=   use devel/pybugz for bugzilla interface
> +PYBUGZ_RUN_DEPENDS=    bugz:${PORTSDIR}/devel/pybugz
> +
> +DATADIR=       ${PREFIX}/share/bz
> +
> +USE_GITHUB=    yes
> +GH_ACCOUNT=    pgollucci
> +
> +NO_BUILD=      yes
> +
> +.include <bsd.port.mk>
>
> Added: head/ports-mgmt/freebsd-bugzilla-cli/distinfo
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/ports-mgmt/freebsd-bugzilla-cli/distinfo       Wed Jul 29
> 17:32:44 2015        (r393188)
> @@ -0,0 +1,2 @@
> +SHA256 (pgollucci-freebsd-bugzilla-cli-0.0.1_GH0.tar.gz) =
> fa86e4435cc2183d9bb574a7b0ff0d20ea1ea4a11298e1a9eabfd93efe97054b
> +SIZE (pgollucci-freebsd-bugzilla-cli-0.0.1_GH0.tar.gz) = 2410
>
> Added: head/ports-mgmt/freebsd-bugzilla-cli/pkg-descr
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/ports-mgmt/freebsd-bugzilla-cli/pkg-descr      Wed Jul 29
> 17:32:44 2015        (r393188)
> @@ -0,0 +1,4 @@
> +CLI utilities and wrappers for FreeBSD's bugzilla instance with emphasis
> on
> +ports.  Provides a consistent API which can have pluggable backends.
> +
> +WWW: https://github.com/pgollucci/freebsd-bugzilla-cli
>
> Added: head/ports-mgmt/freebsd-bugzilla-cli/pkg-plist
>
> ==============================================================================
> --- /dev/null   00:00:00 1970   (empty, because file is newly added)
> +++ head/ports-mgmt/freebsd-bugzilla-cli/pkg-plist      Wed Jul 29
> 17:32:44 2015        (r393188)
> @@ -0,0 +1,11 @@
> +%%DATADIR%%/close.sh
> +%%DATADIR%%/help.sh
> +%%DATADIR%%/inprog.sh
> +%%DATADIR%%/login.sh
> +%%DATADIR%%/take.sh
> +%%DATADIR%%/version.sh
> +%%PYBUGZ%%%%DATADIR%%/pybugz/close.sh
> +%%PYBUGZ%%%%DATADIR%%/pybugz/inprog.sh
> +%%PYBUGZ%%%%DATADIR%%/pybugz/login.sh
> +%%PYBUGZ%%%%DATADIR%%/pybugz/take.sh
> +bin/bz
> _______________________________________________
> svn-ports-all@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/svn-ports-all
> To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58TXxzAp=JCLWOHWg3rcm_dXmCk8pvCVzuMHr4O5DYVzTw>