From owner-dev-commits-ports-main@freebsd.org Mon May 24 10:32:24 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 789286325B6; Mon, 24 May 2021 10:32:24 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from gmailer.gwdg.de (gmailer.gwdg.de [134.76.11.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FpYS834V4z3Ftv; Mon, 24 May 2021 10:32:24 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1ll7sk-0002vO-Gi; Mon, 24 May 2021 12:32:22 +0200 Received: from krabat.raven.hur (10.250.9.200) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P521) id 15.1.2242.10; Mon, 24 May 2021 12:32:22 +0200 Subject: Re: git: c3a46eb2ece8 - main - devel/qstylizer: New port: Qt Stylesheet Generator for PyQt/PySide To: Rainer Hurling , , , References: <202105240811.14O8BbvP027261@gitrepo.freebsd.org> Reply-To: From: Rainer Hurling Message-ID: <404a2ef9-b1b9-efd6-9ae7-c84d9aead96c@gwdg.de> Date: Mon, 24 May 2021 12:32:21 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <202105240811.14O8BbvP027261@gitrepo.freebsd.org> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.250.9.200] X-ClientProxiedBy: EXCMBX-04.um.gwdg.de (134.76.9.219) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4FpYS834V4z3Ftv X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 May 2021 10:32:24 -0000 Am 24.05.21 um 10:11 schrieb Rainer Hurling: > The branch main has been updated by rhurlin: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=c3a46eb2ece88e5f77f1ef95fbe33e6c61006572 > > commit c3a46eb2ece88e5f77f1ef95fbe33e6c61006572 > Author: Rainer Hurling > AuthorDate: 2021-05-24 08:07:28 +0000 > Commit: Rainer Hurling > CommitDate: 2021-05-24 08:07:28 +0000 > > devel/qstylizer: New port: Qt Stylesheet Generator for PyQt/PySide ^^^^^^^^^^^^^^^ Of course, this has to be named devel/py-qstylizer. Sorry for the typo :( > > https://github.com/blambright/qstylizer > > (Needed as a dependency for an update of devel/py-spyder) > --- > devel/Makefile | 1 + > devel/py-qstylizer/Makefile | 62 ++++++++++++++++++++++++++++++++++++++++++++ > devel/py-qstylizer/distinfo | 3 +++ > devel/py-qstylizer/pkg-descr | 4 +++ > 4 files changed, 70 insertions(+) > > diff --git a/devel/Makefile b/devel/Makefile > index 7475d2dd990b..789539eedec9 100644 > --- a/devel/Makefile > +++ b/devel/Makefile > @@ -5046,6 +5046,7 @@ > SUBDIR += py-pyyaml-include > SUBDIR += py-q > SUBDIR += py-qasync > + SUBDIR += py-qstylizer > SUBDIR += py-qt5 > SUBDIR += py-qt5-core > SUBDIR += py-qt5-dbus > diff --git a/devel/py-qstylizer/Makefile b/devel/py-qstylizer/Makefile > new file mode 100644 > index 000000000000..25e3bb713d8b > --- /dev/null > +++ b/devel/py-qstylizer/Makefile > @@ -0,0 +1,62 @@ > +# Created by: Rainer Hurling > + > +PORTNAME= qstylizer > +PORTVERSION= 0.2.0 > +CATEGORIES= devel python > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > + > +MAINTAINER= rhurlin@FreeBSD.org > +COMMENT= Qt Stylesheet Generator for PyQt/PySide > + > +LICENSE= MIT > +LICENSE_FILE= ${WRKSRC}/LICENSE.txt > + > +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>0:devel/py-pbr@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} > +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}inflection>=0.3.1,<1:devel/py-inflection@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}tinycss2>=0.5,<2:textproc/py-tinycss2@${PY_FLAVOR} > +# pytest-catchlog >=1,<2 does not exist until now :( > +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=0:devel/py-pytest-xdist@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}virtualenv>=0:devel/py-virtualenv@${PY_FLAVOR} > + > +USES= pyqt:5 python:3.7+ > +# PyPi only has the wheel version > +USE_GITHUB= yes > +GH_ACCOUNT= blambright > + > +USE_PYQT= core widgets > +USE_PYTHON= autoplist distutils > + > +MAKE_ENV= PBR_VERSION=${PORTVERSION} > + > +NO_ARCH= yes > + > +PORTDOCS= * > + > +OPTIONS_DEFINE= DOCS > + > +DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX}sphinxcontrib-autoprogram>0:textproc/py-sphinxcontrib-autoprogram@${PY_FLAVOR} > +DOCS_USES= gmake > + > +post-patch: > + @${REINPLACE_CMD} -e 's|python -msphinx|${PYTHON_VERSION} -msphinx|g' \ > + ${WRKSRC}/doc/Makefile > + > +do-build-DOCS-on: > + (cd ${WRKSRC}/doc && ${GMAKE} html) > + > +post-build-DOCS-on: > + ${MKDIR} ${STAGEDIR}${DOCSDIR} > + (cd ${WRKSRC}/doc/_build/html/ && ${CP} -R api *.html *.js ${STAGEDIR}${DOCSDIR}) > + > +do-test: > + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v > + > +.include > diff --git a/devel/py-qstylizer/distinfo b/devel/py-qstylizer/distinfo > new file mode 100644 > index 000000000000..551de50ec1ef > --- /dev/null > +++ b/devel/py-qstylizer/distinfo > @@ -0,0 +1,3 @@ > +TIMESTAMP = 1621791374 > +SHA256 (blambright-qstylizer-0.2.0_GH0.tar.gz) = 344fef12a7ac2546853ffdf1ef7055aea3b50e41cf469caf71eb4d2acabf42d7 > +SIZE (blambright-qstylizer-0.2.0_GH0.tar.gz) = 20710 > diff --git a/devel/py-qstylizer/pkg-descr b/devel/py-qstylizer/pkg-descr > new file mode 100644 > index 000000000000..0781f087a254 > --- /dev/null > +++ b/devel/py-qstylizer/pkg-descr > @@ -0,0 +1,4 @@ > +qstylizer is a python package designed to help with the > +construction of PyQt/PySide stylesheets. > + > +WWW: https://github.com/blambright/qstylizer/ >