svn commit: r489686 - head/net-im/py-slixmpp

Mateusz Piotrowski 0mp at FreeBSD.org
Tue Jan 8 13:31:15 UTC 2019


Author: 0mp
Date: Tue Jan  8 13:31:14 2019
New Revision: 489686
URL: https://svnweb.freebsd.org/changeset/ports/489686

Log:
  net-im/py-slixmpp: Add missing RUN_DEPENDS and fix some other issues
  
  - Switch MASTER_SITES to CHEESESHOP as it ought to be the default for
    Python software.
  - Adjust COMMENT to match the short description from setup.py.
  - Add missing RUN_DEPENDS.
  - Standardize test invocation.
  - Update WWW to point to project's homepage instead of the Git repository.
  
  Reported by:	koobs
  Reviewed by:	koobs, krion
  Approved by:	koobs, krion (mentor)
  Differential Revision:	https://reviews.freebsd.org/D18684

Modified:
  head/net-im/py-slixmpp/Makefile
  head/net-im/py-slixmpp/distinfo
  head/net-im/py-slixmpp/pkg-descr

Modified: head/net-im/py-slixmpp/Makefile
==============================================================================
--- head/net-im/py-slixmpp/Makefile	Tue Jan  8 13:24:33 2019	(r489685)
+++ head/net-im/py-slixmpp/Makefile	Tue Jan  8 13:31:14 2019	(r489686)
@@ -2,26 +2,30 @@
 
 PORTNAME=	slixmpp
 DISTVERSION=	1.4.1
+PORTREVISION=	1
 CATEGORIES=	net-im python
-MASTER_SITES=	https://git.poez.io/slixmpp/snapshot/
+MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	slix-${DISTVERSION}
 
 MAINTAINER=	0mp at FreeBSD.org
-COMMENT=	Threadless Poezio-oriented fork of SleekXMPP using asyncio
+COMMENT=	Elegant Python library for XMPP (aka Jabber, Google Talk, etc.)
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libidn.so:dns/libidn
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyasn1>=0:devel/py-pyasn1@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pyasn1-modules>=0:devel/py-pyasn1-modules@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiodns>=1.0:dns/py-aiodns@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR}
 TEST_DEPENDS=	gpg:security/gnupg
 
-USES=		python:3.5+
+USES=		pkgconfig python:3.5+
 USE_PYTHON=	distutils autoplist cython
 
 NO_ARCH=	yes
 
 do-test:
-	cd ${WRKSRC} && ${PYTHON_CMD} run_tests.py
+	cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
 
 .include <bsd.port.mk>

Modified: head/net-im/py-slixmpp/distinfo
==============================================================================
--- head/net-im/py-slixmpp/distinfo	Tue Jan  8 13:24:33 2019	(r489685)
+++ head/net-im/py-slixmpp/distinfo	Tue Jan  8 13:31:14 2019	(r489686)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1545919194
-SHA256 (slix-1.4.1.tar.gz) = 2ae5755c9d593d5e2e31985dffe4829670d947273f78a7a34ec263617eece0d6
-SIZE (slix-1.4.1.tar.gz) = 1009754
+TIMESTAMP = 1546111826
+SHA256 (slixmpp-1.4.1.tar.gz) = 020acd4507fd00c38835b78b5f338db60d3df840187623e0d41ab2ca89d7ae57
+SIZE (slixmpp-1.4.1.tar.gz) = 862964

Modified: head/net-im/py-slixmpp/pkg-descr
==============================================================================
--- head/net-im/py-slixmpp/pkg-descr	Tue Jan  8 13:24:33 2019	(r489685)
+++ head/net-im/py-slixmpp/pkg-descr	Tue Jan  8 13:31:14 2019	(r489686)
@@ -5,4 +5,4 @@ Slixmpp's goals is to only rewrite the core of the lib
 socket handling, the timers, the events dispatching) in order to remove all
 threads.
 
-WWW: https://git.poez.io/slixmpp/
+WWW: https://dev.louiz.org/projects/slixmpp


More information about the svn-ports-all mailing list