mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
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
29 lines
738 B
Makefile
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>
|