git: f938eb04fcdc - main - multimedia/py-python-mpv: Update to 1.0.7

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 04 Aug 2024 17:22:58 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f938eb04fcdc104e8c88e1a3eddff7b8970394b1

commit f938eb04fcdc104e8c88e1a3eddff7b8970394b1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:08:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:09 +0000

    multimedia/py-python-mpv: Update to 1.0.7
    
    - Update WWW
    - Add LICENSE_FILE
    - Remove PY_SETUPTOOLS: py-setuptools should be used rather than PY_SETUPTOOLS
    - Add NO_ARCH
    - Reformat pkg-descr
    - Take maintainership
    
    Changes:        https://github.com/jaseg/python-mpv/commits/main
---
 multimedia/py-python-mpv/Makefile  | 19 ++++++++++++-------
 multimedia/py-python-mpv/distinfo  |  6 +++---
 multimedia/py-python-mpv/pkg-descr |  7 +++----
 3 files changed, 18 insertions(+), 14 deletions(-)

diff --git a/multimedia/py-python-mpv/Makefile b/multimedia/py-python-mpv/Makefile
index 90230edb1b30..330dacb11f7f 100644
--- a/multimedia/py-python-mpv/Makefile
+++ b/multimedia/py-python-mpv/Makefile
@@ -1,21 +1,26 @@
 PORTNAME=	python-mpv
-DISTVERSION=	1.0.5
+PORTVERSION=	1.0.7
 CATEGORIES=	multimedia python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	python_mpv-${PORTVERSION}
 
-MAINTAINER=	ports@freebsd.org
+MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Python interface to the mpv media player
-WWW=		https://pypi.org/project/python-mpv/
+WWW=		https://github.com/jaseg/python-mpv
 
 LICENSE=	GPLv2+ LGPL21+
 LICENSE_COMB=	dual
+LICENSE_GPLv2+ =	${WRKSRC}/LICENSE.GPL
+LICENSE_LGPL21+ =	${WRKSRC}/LICENSE.LGPL
 
-BUILD_DEPENDS=  ${PY_SETUPTOOLS} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	mpv>0:multimedia/mpv
+LIB_DEPENDS=	libmpv.so:multimedia/mpv
 
-USES=		python
-USE_PYTHON=	pep517 autoplist
+USES=		python:3.9+
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
 
 .include <bsd.port.mk>
diff --git a/multimedia/py-python-mpv/distinfo b/multimedia/py-python-mpv/distinfo
index 2c942fffb014..676ef8562a20 100644
--- a/multimedia/py-python-mpv/distinfo
+++ b/multimedia/py-python-mpv/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703589695
-SHA256 (python-mpv-1.0.5.tar.gz) = 9053ebf05c581810a1cff6c5492d516ea465039dc0ac24ac7779ee21c777d65d
-SIZE (python-mpv-1.0.5.tar.gz) = 50785
+TIMESTAMP = 1722711239
+SHA256 (python_mpv-1.0.7.tar.gz) = afc2f2677b08dcccf1e9e7a76d64ee4f603541cf6a750ebf4cce957be90ec836
+SIZE (python_mpv-1.0.7.tar.gz) = 51712
diff --git a/multimedia/py-python-mpv/pkg-descr b/multimedia/py-python-mpv/pkg-descr
index 817b497a64a3..7e365c551828 100644
--- a/multimedia/py-python-mpv/pkg-descr
+++ b/multimedia/py-python-mpv/pkg-descr
@@ -1,4 +1,3 @@
-python-mpv is a ctypes-based python interface to the mpv media player.
-
-It gives you more or less full control of all features of the player,
-just as the lua interface does.
+python-mpv is a ctypes-based python interface to the mpv media player. It gives
+you more or less full control of all features of the player, just as the lua
+interface does.