ports/misc/py-openpaperwork-gtk/Makefile
Charlie Li 76699df99d
devel/py-pygobject: rename and update to 3.50.0
The proper upstream Python package name is pygobject; version 2
hasn't existed or been supported in ages, so rename.

Rework the port to where -common is the child port but the main
port depends on it for the header files. Build the main port as a
Python wheel USE_PYTHON=pep517 to take advantage of USE_PYTHON=autoplist.

Direct -common consumers have PORTREVISION bumped.

Changelog: https://gitlab.gnome.org/GNOME/pygobject/-/blob/3.50.0/NEWS

Reported by: Olivier Duchateau <duchateau.olivier[at]gmail[dot]com> (3.44, 3.46)
Exp-run by: antoine
PR: 273722
Differential Revision: https://reviews.freebsd.org/D47635
2024-11-22 17:31:53 -05:00

29 lines
738 B
Makefile

PORTNAME= openpaperwork-gtk
DISTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= OpenPaperwork GTK plugins
WWW= https://openpaper.work/en/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openpaperwork-core>0:misc/py-openpaperwork-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
${PY_PILLOW} \
pygobject-common>=0:devel/pygobject-common
BUILD_DEPENDS= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= python
USE_PYTHON= distutils autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
NO_ARCH= yes
.include <bsd.port.mk>