[maintainer update] devel/py-coveralls

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[maintainer update] devel/py-coveralls

Johan Huldtgren-6
hello,

minor update of py-coveralls from 1.3.0 to 1.5.0, built
and packaged on amd64. This used to be a dependency for
py-dicogs-client, but as it no longer is I have no real
world tests.

thanks,

.jh

py-coveralls.diff (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Johan Huldtgren-6
> hello,
>
> minor update of py-coveralls from 1.3.0 to 1.5.0, built
> and packaged on amd64. This used to be a dependency for
> py-dicogs-client, but as it no longer is I have no real
> world tests.

ping?

.jh

Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Johan Huldtgren-6
In reply to this post by Johan Huldtgren-6
> minor update of py-coveralls from 1.3.0 to 1.5.0, built
> and packaged on amd64. This used to be a dependency for
> py-dicogs-client, but as it no longer is I have no real
> world tests.

updated to 1.5.1, only big difference since 1.5.0 is
that py-test-runner has been removed as a dependency.

thanks,

.jh

py-coveralls.diff (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Johan Huldtgren-6
On 2019-01-20 16:06, Johan Huldtgren wrote:
>> minor update of py-coveralls from 1.3.0 to 1.5.0, built
>> and packaged on amd64. This used to be a dependency for
>> py-dicogs-client, but as it no longer is I have no real
>> world tests.
>
> updated to 1.5.1, only big difference since 1.5.0 is
> that py-test-runner has been removed as a dependency.

ping?

.jh

Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Johan Huldtgren-6
In reply to this post by Johan Huldtgren-6
On 2019-01-20 16:06, Johan Huldtgren wrote:
>> minor update of py-coveralls from 1.3.0 to 1.5.0, built
>> and packaged on amd64. This used to be a dependency for
>> py-dicogs-client, but as it no longer is I have no real
>> world tests.
>
> updated to 1.5.1, only big difference since 1.5.0 is
> that py-test-runner has been removed as a dependency.

and update to 1.6.0, only change since 1.5.1 is added support
for semaphoreCI.

as previously built and packaged on amd64 without issues.

thanks,

.jh

py-coveralls.diff (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Klemens Nanni-2
Committed, thanks. And sorry for the long period without response.

Reply | Threaded
Open this post in threaded view
|

Re: [maintainer update] devel/py-coveralls

Kurt Mosiejczuk-9
In reply to this post by Johan Huldtgren-6
On Sun, Mar 17, 2019 at 04:05:13PM -0400, Johan Huldtgren wrote:

> > updated to 1.5.1, only big difference since 1.5.0 is
> > that py-test-runner has been removed as a dependency.

> and update to 1.6.0, only change since 1.5.1 is added support
> for semaphoreCI.

> as previously built and packaged on amd64 without issues.

I'm looking this over and the first big question I come across is:

Is there a reason there is no python3 flavor? I checked and it supports
Python 2.7 and 3.4-3.7.

--Kurt

Reply | Threaded
Open this post in threaded view
|

devel/py-coveralls: use python 3

Klemens Nanni-2
On Sun, Mar 17, 2019 at 04:30:13PM -0400, Kurt Mosiejczuk wrote:
> Is there a reason there is no python3 flavor? I checked and it supports
> Python 2.7 and 3.4-3.7.
I was wondering the same and just started on moving this port to
Python 3 all together.

Minimal dependencies are taken from setup.py.

@Johan: The release tarball (from PyPi) does not include tests/, but
they're present in the upstream git repo.  Would you mind tackling this
so downstreams like us can run tests with future releases?

Feedback? Objections?

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-coveralls/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile 17 Mar 2019 20:22:46 -0000 1.9
+++ Makefile 17 Mar 2019 20:41:04 -0000
@@ -3,6 +3,7 @@
 COMMENT = display coverage stats online via coveralls.io
 
 MODPY_EGG_VERSION = 1.6.0
+REVISION = 0
 DISTNAME = coveralls-${MODPY_EGG_VERSION}
 PKGNAME = py-${DISTNAME}
 CATEGORIES = devel
@@ -14,13 +15,13 @@ HOMEPAGE = https://github.com/coagulant/
 PERMIT_PACKAGE_CDROM = Yes
 
 MODULES = lang/python
-
+MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
 MODPY_PI = Yes
 MODPY_SETUPTOOLS = Yes
 
-RUN_DEPENDS = devel/py-docopt \
- devel/py-coverage \
- www/py-requests
+RUN_DEPENDS = devel/py-coverage${MODPY_FLAVOR}>=3.6 \
+ devel/py-docopt${MODPY_FLAVOR}>=0.6.1 \
+ www/py-requests${MODPY_FLAVOR}>=1.0.0
 
 NO_TEST = Yes
 
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/py-coveralls/pkg/PLIST,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST
--- pkg/PLIST 17 Mar 2019 20:22:46 -0000 1.5
+++ pkg/PLIST 17 Mar 2019 20:41:04 -0000
@@ -9,18 +9,19 @@ lib/python${MODPY_VERSION}/site-packages
 lib/python${MODPY_VERSION}/site-packages/coveralls-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
 lib/python${MODPY_VERSION}/site-packages/coveralls-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
 lib/python${MODPY_VERSION}/site-packages/coveralls/__init__.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/__init__.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/__main__.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/__main__.pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}/
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}exception.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}git.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}reporter.${MODPY_PYC_MAGIC_TAG}pyc
+lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/api.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/api.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/cli.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/cli.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/exception.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/exception.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/git.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/git.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/reporter.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/reporter.pyc
 lib/python${MODPY_VERSION}/site-packages/coveralls/version.py
-lib/python${MODPY_VERSION}/site-packages/coveralls/version.pyc

Reply | Threaded
Open this post in threaded view
|

Re: devel/py-coveralls: use python 3

Johan Huldtgren-6
hello,

On 2019-03-17 16:45, Klemens Nanni wrote:
> On Sun, Mar 17, 2019 at 04:30:13PM -0400, Kurt Mosiejczuk wrote:
>> Is there a reason there is no python3 flavor? I checked and it
>> supports
>> Python 2.7 and 3.4-3.7.
>
> I was wondering the same and just started on moving this port to
> Python 3 all together.

to answer the first part I ported this back when it was a dependency
for py-discogs-client, at some point it stopped being, and I've not
had real world tests for this since. So just didn't occur to me.
If this port has value, someone who uses (or depends on) it should
perhaps grab maintainership to ensure greater care and feeding.

> Minimal dependencies are taken from setup.py.
>
> @Johan: The release tarball (from PyPi) does not include tests/, but
> they're present in the upstream git repo.  Would you mind tackling this
> so downstreams like us can run tests with future releases?

I assume we use PyPi instead of github because github only provides the
auto generated tarballs and not proper ones?

> Feedback? Objections?

Reads fine, as noted above I don't have any uses for this so no real
world tests.

.jh

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/py-coveralls/Makefile,v
> retrieving revision 1.9
> diff -u -p -r1.9 Makefile
> --- Makefile 17 Mar 2019 20:22:46 -0000 1.9
> +++ Makefile 17 Mar 2019 20:41:04 -0000
> @@ -3,6 +3,7 @@
>  COMMENT = display coverage stats online via coveralls.io
>
>  MODPY_EGG_VERSION = 1.6.0
> +REVISION = 0
>  DISTNAME = coveralls-${MODPY_EGG_VERSION}
>  PKGNAME = py-${DISTNAME}
>  CATEGORIES = devel
> @@ -14,13 +15,13 @@ HOMEPAGE = https://github.com/coagulant/
>  PERMIT_PACKAGE_CDROM = Yes
>
>  MODULES = lang/python
> -
> +MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
>  MODPY_PI = Yes
>  MODPY_SETUPTOOLS = Yes
>
> -RUN_DEPENDS = devel/py-docopt \
> - devel/py-coverage \
> - www/py-requests
> +RUN_DEPENDS = devel/py-coverage${MODPY_FLAVOR}>=3.6 \
> + devel/py-docopt${MODPY_FLAVOR}>=0.6.1 \
> + www/py-requests${MODPY_FLAVOR}>=1.0.0
>
>  NO_TEST = Yes
>
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/devel/py-coveralls/pkg/PLIST,v
> retrieving revision 1.5
> diff -u -p -r1.5 PLIST
> --- pkg/PLIST 17 Mar 2019 20:22:46 -0000 1.5
> +++ pkg/PLIST 17 Mar 2019 20:41:04 -0000
> @@ -9,18 +9,19 @@ lib/python${MODPY_VERSION}/site-packages
>
> lib/python${MODPY_VERSION}/site-packages/coveralls-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
>
> lib/python${MODPY_VERSION}/site-packages/coveralls-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
>  lib/python${MODPY_VERSION}/site-packages/coveralls/__init__.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/__init__.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/__main__.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/__main__.pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}/
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}__main__.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}api.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}cli.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}exception.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}git.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}reporter.${MODPY_PYC_MAGIC_TAG}pyc
> +lib/python${MODPY_VERSION}/site-packages/coveralls/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/api.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/api.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/cli.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/cli.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/exception.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/exception.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/git.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/git.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/reporter.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/reporter.pyc
>  lib/python${MODPY_VERSION}/site-packages/coveralls/version.py
> -lib/python${MODPY_VERSION}/site-packages/coveralls/version.pyc