MFH: r489686 r494706

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

net-im/py-slixmpp: Update to 1.4.2

This release contains a fix for CVE-2019-1000021.

Changelog:
https://lab.louiz.org/poezio/slixmpp/tags/slix-1.4.2

Reviewed by:	krion
Approved by:	krion (mentor)
Security:	526d9642-3ae7-11e9-a669-8c164582fbac
Security:	CVE-2019-1000021
Differential Revision:	https://reviews.freebsd.org/D19397

Approved by:	ports-secteam (joneum), krion (mentor, implicit)
This commit is contained in:
Mateusz Piotrowski 2019-03-05 19:44:52 +00:00
parent 0c43948ad8
commit 668a5920cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q1/; revision=494735
3 changed files with 13 additions and 10 deletions

View File

@ -1,27 +1,30 @@
# $FreeBSD$
PORTNAME= slixmpp
DISTVERSION= 1.4.1
DISTVERSION= 1.4.2
CATEGORIES= net-im python
MASTER_SITES= https://git.poez.io/slixmpp/snapshot/
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= slix-${DISTVERSION}
MAINTAINER= 0mp@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>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1545919194
SHA256 (slix-1.4.1.tar.gz) = 2ae5755c9d593d5e2e31985dffe4829670d947273f78a7a34ec263617eece0d6
SIZE (slix-1.4.1.tar.gz) = 1009754
TIMESTAMP = 1551309637
SHA256 (slixmpp-1.4.2.tar.gz) = c3204fbe8ded148e1eca6720ba0398298c159f29ec76dfc6f7dd7ed999ae1767
SIZE (slixmpp-1.4.2.tar.gz) = 864608

View File

@ -5,4 +5,4 @@ Slixmpp's goals is to only rewrite the core of the library (the low level
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