Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2019 23:05:52 +0000 (UTC)
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509858 - head/devel/py-pymaven-patch
Message-ID:  <201908252305.x7PN5qrY059584@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kai
Date: Sun Aug 25 23:05:51 2019
New Revision: 509858
URL: https://svnweb.freebsd.org/changeset/ports/509858

Log:
  devel/py-pymaven-patch: Update to 0.2.9
  
  * Switch from GitHub to PyPI as upstream now offers Python sdists
  
  * Python 3 is now supported so remove the version contraints
  
  * Use pytest for running the tests as it's already required as a dependency
    to process them thus make real use of that tool
  
  * Pet portlint (whitespace issue in pkg-descr)
  
  Changelog:
  
  https://github.com/nexB/pymaven/compare/3caf65f...4e065e4

Modified:
  head/devel/py-pymaven-patch/Makefile
  head/devel/py-pymaven-patch/distinfo
  head/devel/py-pymaven-patch/pkg-descr

Modified: head/devel/py-pymaven-patch/Makefile
==============================================================================
--- head/devel/py-pymaven-patch/Makefile	Sun Aug 25 21:01:31 2019	(r509857)
+++ head/devel/py-pymaven-patch/Makefile	Sun Aug 25 23:05:51 2019	(r509858)
@@ -1,9 +1,9 @@
 # $FreeBSD$
 
 PORTNAME=	pymaven-patch
-DISTVERSIONPREFIX=	v
-DISTVERSION=	0.2.5.patch
+DISTVERSION=	0.2.9
 CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	kai@FreeBSD.org
@@ -12,20 +12,20 @@ COMMENT=	Library for interfacing with maven
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=3.4.4:devel/py-lxml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pbr>=1.9:devel/py-pbr@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=4.0.0<5.0.0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.10<2.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0<3.0.0:www/py-requests@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
+py27_TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
 
-USES=		python:2.7
+USES=		python
 USE_PYTHON=	distutils autoplist
-USE_GITHUB=	yes
-GH_ACCOUNT=	nexB
-GH_PROJECT=	pymaven
 
 NO_ARCH=	yes
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	@cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v
 
 .include <bsd.port.mk>

Modified: head/devel/py-pymaven-patch/distinfo
==============================================================================
--- head/devel/py-pymaven-patch/distinfo	Sun Aug 25 21:01:31 2019	(r509857)
+++ head/devel/py-pymaven-patch/distinfo	Sun Aug 25 23:05:51 2019	(r509858)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1530204677
-SHA256 (nexB-pymaven-v0.2.5.patch_GH0.tar.gz) = 07872e7adcf12112d9b3638b2b9cd1d51f5acb0279d2d97eeda411dd41c839b5
-SIZE (nexB-pymaven-v0.2.5.patch_GH0.tar.gz) = 224358
+TIMESTAMP = 1566675509
+SHA256 (pymaven-patch-0.2.9.tar.gz) = a247eb10474838e24dbddfdb73e97c8b8e139bc23c2ea983a2934e36c32e8478
+SIZE (pymaven-patch-0.2.9.tar.gz) = 29952

Modified: head/devel/py-pymaven-patch/pkg-descr
==============================================================================
--- head/devel/py-pymaven-patch/pkg-descr	Sun Aug 25 21:01:31 2019	(r509857)
+++ head/devel/py-pymaven-patch/pkg-descr	Sun Aug 25 23:05:51 2019	(r509858)
@@ -1,7 +1,7 @@
 pymaven is a library for working with maven repositories via python. pymaven is
 not intended as a complete replacement of the maven build system, but instead as
 a way for python programs to fetch artifacts and artifact dependencies from
-maven2 repositories. 
+maven2 repositories.
 
 Note: This is a forked version from the 2.x branch that supports unicode and
       uses other routines for data structures.



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