1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

devel/py-gobject3: use USE_GNOME=pygobject3 helper

The helper is equivalent to the previous explicit dependency
declaration so no functional or metadata changes.

With hat: gnome
PR: 273722
This commit is contained in:
Charlie Li 2024-11-19 11:55:04 -05:00
parent 5c3d5f53fc
commit 48060e03b6
No known key found for this signature in database
GPG Key ID: 678F936058415CCA
19 changed files with 35 additions and 44 deletions

View File

@ -33,12 +33,12 @@ WAYLAND_DESC= Support Wayland (wlroots) for changing colors
GEO_BUILD_DEPENDS= geoclue>=0:net/geoclue
GEO_RUN_DEPENDS= geoclue>=0:net/geoclue
GEO_USE= GNOME=glib20
GEO_USE= gnome=glib20
GEO_CONFIGURE_ENABLE= geoclue2
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
GUI_USES= python
GUI_USE= gnome=pygobject3:run
GUI_CONFIGURE_ENABLE= gui
NLS_USES= gettext-runtime iconv

View File

@ -57,9 +57,9 @@ WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland
WAYLAND_CONFIGURE_ENABLE= wayland
GUI_USES= python
GUI_USE= gnome=pygobject3:run
GUI_CONFIGURE_ENABLE= gui
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
GUI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR}
GEO_CONFIGURE_ON= --enable-geoclue2
GEO_CONFIGURE_OFF= --disable-geoclue2

View File

@ -146,12 +146,10 @@ RECONFIGURE_MAKE_ARGS_OFF= reconfigure=no
CPPBIND_MAKE_ARGS_OFF= libgpsmm=no
PYSERIAL_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
PYSERIAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyserial>=0:comms/py-pyserial@${PY_FLAVOR}
X11_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR}
X11_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
X11_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>=0:graphics/py-cairo@${PY_FLAVOR}
X11_USES= gnome
X11_USE= GNOME=gtk30
X11_USE= gnome=gtk30 pygobject3
X11_MAKE_ARGS_OFF= xgps=no
# Build control

View File

@ -26,8 +26,9 @@ GSTREAMER_DESC= Use gstreamer as backend
PYMAD_DESC= Use pymad as backend
FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg
GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.0:multimedia/py-gstreamer1@${PY_FLAVOR}
GSTREAMER_USES= gnome
GSTREAMER_USE= gnome=pygobject3:run
GSTREAMER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.0:multimedia/py-gstreamer1@${PY_FLAVOR}
PYMAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pymad>=0:audio/py-pymad@${PY_FLAVOR}
.include <bsd.port.mk>

View File

@ -17,7 +17,6 @@ BUILD_DEPENDS= volk>0:devel/volk \
${PYNUMPY} \
${PYTHON_SITELIBDIR}/mako/__init__.py:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pyyaml>=3.11:devel/py-pyyaml@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/gi/__init__.py:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/cairo/__init__.py:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/six.py:devel/py-six@${PY_FLAVOR} \
${PYTHON_SITELIBDIR}/click/__init__.py:devel/py-click@${PY_FLAVOR} \
@ -69,6 +68,7 @@ CMAKE_ARGS+= -DCMAKE_INSTALL_RPATH:STRING="${LOCALBASE}/lib/gcc${_GCC_VER}" \
#CMAKE_ARGS+= --debug-output --trace
USE_CXXSTD= c++11
USE_GITHUB= yes
USE_GNOME= pygobject3
USE_PYQT= pyqt5
USE_WX= 3.2
USE_QT= buildtools core gui xml qmake widgets

View File

@ -11,9 +11,8 @@ WWW= https://github.com/LEW21/pydbus/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR}
USES= python
USES= gnome python
USE_GNOME= pygobject3:run
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>

View File

@ -24,8 +24,8 @@ OPTIONS_DEFAULT=LAUNCHER
OPTIONS_SUB= yes
LAUNCHER_DESC= Install pygtk launcher
LAUNCHER_USES= python:run
LAUNCHER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR}
LAUNCHER_USES= gnome python:run
LAUNCHER_USE= gnome=pygobject3:run
LAUNCHER_ALL_TARGET= jnbmenu
LAUNCHER_INSTALL_TARGET=jnbmenuinstall

View File

@ -13,7 +13,6 @@ LICENSE= GPLv3
COMMON_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pexpect>0:misc/py-pexpect@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy20>0:databases/py-sqlalchemy20@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}psutil>0.:sysutils/py-psutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>2:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>11.:devel/py-websockets@${PY_FLAVOR}
RUN_DEPENDS= ${COMMON_DEPENDS}
BUILD_DEPENDS= ${COMMON_DEPENDS}
@ -24,7 +23,7 @@ USES= desktop-file-utils display:configure gettext gnome gstreamer python
_USES_$t+= ${_USES_configure}
.endfor
USE_PYTHON= distutils autoplist
USE_GNOME= gtksourceview3:run glib20 gtk30 librsvg2 introspection
USE_GNOME= gtksourceview3:run glib20 gtk30 librsvg2 introspection pygobject3
PYDISTUTILS_INSTALLNOSINGLE= nope
NO_ARCH= yes

View File

@ -18,7 +18,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>0:devel/py-arrow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}colour>0:graphics/py-colour@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}python-dateutil>2.2:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}easygui>=0:x11-toolkits/py-easygui@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gphoto2>=1.4.0:graphics/py-gphoto2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gstreamer1>=1.0:multimedia/py-gstreamer1@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}notify2>0:devel/py-notify2@${PY_FLAVOR} \
@ -34,7 +33,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>0:devel/py-arrow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}xdg>0:devel/py-xdg@${PY_FLAVOR} \
exiftool:graphics/p5-Image-ExifTool
USES= desktop-file-utils gettext pyqt:5 python qt:5
USES= desktop-file-utils gettext gnome pyqt:5 python qt:5
USE_GNOME= pygobject3:run
USE_PYTHON= autoplist distutils noflavors
USE_QT= imageformats:run
USE_PYQT= pyqt5

View File

@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libappstream.so:devel/appstream \
libgtksourceview-5.so:x11-toolkits/gtksourceview5
RUN_DEPENDS= ${PY_PILLOW} \
${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html2text>=2.2.3:textproc/py-html2text@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pypdf>=4.3.1:print/py-pypdf@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytube>=15.0.0:multimedia/py-pytube@${PY_FLAVOR} \
@ -25,7 +24,7 @@ USES= desktop-file-utils gettext-runtime gettext-tools gnome meson \
USE_GITHUB= yes
GH_ACCOUNT= Jeffser
GH_PROJECT= Alpaca
USE_GNOME= vte3
USE_GNOME= pygobject3:run vte3
post-patch:
@${REINPLACE_CMD} \

View File

@ -12,13 +12,13 @@ WWW= https://0xacab.org/jvoisin/mat2
LICENSE= LGPL3+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>0:audio/py-mutagen@${PY_FLAVOR} \
gdk-pixbuf2>0:graphics/gdk-pixbuf2 \
librsvg2-rust>0:graphics/librsvg2-rust \
poppler-glib>0:graphics/poppler-glib
USES= python
USES= gnome python
USE_GNOME= pygobject3:run
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes

View File

@ -12,7 +12,6 @@ LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.8:textproc/py-feedparser@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>=3.42.2:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>=3.7.1:math/py-matplotlib@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}moviepy>=1.0.3:multimedia/py-moviepy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}playsound>=1.3.0:audio/py-playsound@${PY_FLAVOR} \
@ -23,7 +22,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}feedparser>=6.0.8:textproc/py-feedparser@${P
ffmpeg:multimedia/ffmpeg \
yt-dlp:www/yt-dlp
USES= python
USES= gnome python
USE_GNOME= pygobject3:run
USE_PYTHON= autoplist distutils
MAKE_ENV= TARTUBE_PKG_STRICT=1

View File

@ -13,11 +13,10 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gdbm>=3.6:databases/py-gdbm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>=3.16:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mutagen>=1.42:audio/py-mutagen@${PY_FLAVOR}
USES= gettext-tools gnome python
USE_GNOME= gtk30
USE_GNOME= gtk30 pygobject3:run
USE_PYTHON= autoplist concurrent distutils unittest
.include <bsd.port.mk>

View File

@ -60,7 +60,8 @@ DBUS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbus>=0:devel/py-dbus@${PY_FLAVOR}
NLS_USES= gettext-tools
NOTIFY2_IMPLIES= DBUS
NOTIFY2_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}notify2>=0:devel/py-notify2@${PY_FLAVOR}
PYGOBJECT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.10.2:devel/py-gobject3@${PY_FLAVOR}
PYGOBJECT_USES= gnome
PYGOBJECT_USE= gnome=pygobject3:run
SSL_USE= PYTHON=cryptography
post-patch:

View File

@ -11,13 +11,12 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pikepdf>0:textproc/py-pikepdf@${PY_FLAVOR} \
poppler-glib>0:graphics/poppler-glib
USES= gettext gnome python
USE_GITHUB= yes
USE_GNOME= gtk30 intltool:build
USE_GNOME= gtk30 intltool:build pygobject3:run
USE_PYTHON= distutils
NO_ARCH= yes

View File

@ -28,7 +28,6 @@ LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
RUN_DEPENDS= ${PYNUMPY} \
xcrysden:science/xcrysden \
libarchive>0:archivers/libarchive \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR}
USES= autoreconf blaslapack compiler:c11 fortran gl gmake gnome \
@ -36,7 +35,7 @@ USES= autoreconf blaslapack compiler:c11 fortran gl gmake gnome \
shebangfix tar:bzip2 xorg
SHEBANG_GLOB= *.py
USE_XORG= x11
USE_GNOME= cairo gtk30 gdkpixbuf2 intltool introspection
USE_GNOME= cairo gtk30 gdkpixbuf2 intltool introspection pygobject3:run
USE_GL= gl glu
USE_GITLAB= yes
GL_ACCOUNT= l_sim

View File

@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcanberra.so:audio/libcanberra
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>0:net/py-urllib3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cairo>0:graphics/py-cairo@${PY_FLAVOR} \
ffmpeg>1.2.6:multimedia/ffmpeg \
dvdauthor:multimedia/dvdauthor \
@ -23,7 +22,7 @@ USES= python gettext-tools gnome
USE_GITLAB= yes
GL_ACCOUNT= rastersoft
GL_TAGNAME= 8cd457b494c1b746633d2490e319c07f6905e1f2
USE_GNOME= gtk30
USE_GNOME= gtk30 pygobject3:run
USE_PYTHON= distutils autoplist
NO_ARCH= yes

View File

@ -11,19 +11,17 @@ WWW= https://deviantfero.github.io/wpgtk
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
wal:graphics/pywal@${PY_FLAVOR} \
${PY_SETUPTOOLS}
RUN_DEPENDS= feh:graphics/feh \
${PYTHON_PKGNAMEPREFIX}gobject3>0:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR} \
wal:graphics/pywal@${PY_FLAVOR} \
xsettingsd:x11/xsettingsd
USES= gnome python
USE_GNOME= gtk30
USE_GNOME= gtk30 pygobject3
USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes

View File

@ -13,8 +13,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0.44.0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.42:devel/py-gobject3@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}importlib-metadata>=8.5.0:devel/py-importlib-metadata@${PY_FLAVOR} \
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=8.5.0:devel/py-importlib-metadata@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pillow>=10.4.0:graphics/py-pillow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}platformdirs>=4.2.2:devel/py-platformdirs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}imageio>=2.36.0:graphics/py-imageio@${PY_FLAVOR} \
@ -23,7 +22,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gobject3>=3.42:devel/py-gobject3@${PY_FLAVOR
feh:graphics/feh \
swaybg:x11/swaybg
USES= python
USES= gnome python
USE_GNOME= pygobject3:run
USE_PYTHON= autoplist pep517
.include <bsd.port.mk>