* [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
@ 2013-05-27 15:35 Jonathan Callen
2013-05-27 16:23 ` Mike Gilbert
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Jonathan Callen @ 2013-05-27 15:35 UTC (permalink / raw
To: gentoo-dev, gentoo-dev-announce
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
A quick reminder for anyone using python-r1.eclass or
python-single-r1.eclass:
These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should
be included in REQUIRED_USE under the same USE conditionals (if any)
that ${PYTHON_DEPS} is included in DEPEND/RDEPEND.
For example, if your ebuild has:
RDEPEND="
python? ( ${PYTHON_DEPS}
"
then you should also have:
REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
"
And if your ebuild just has:
RDEPEND="${PYTHON_DEPS}"
then you should also have:
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
Failure to include these in REQUIRED_USE may cause the eclass to die
very late in the build process.
Thank you,
Jonathan Callen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCgAGBQJRo309AAoJELHSF2kinlg4dVcP/2t3v1t8CId8jK/c4VG8HLWL
zTEvTI3d8wQILuHydI9VkOZllo3dPWhhUhg/1qJjwEXXnKQXiYNUiVzbtwdkGro/
OlkCrrpDstHgawHiovIZjgyEG9Y+Nz2Z5nKorZIAMFSFepaFsIkihVR3VkeHiG9Q
7XOOVaH8mqGuj7JWZNqikCmB11a6t08jVM68tzwtTZUuil1IRE2qjO5akMPczsvk
3ndoMsv5hQwUE4wmmTH4ffiz+wp/JUylK2Ypy6p/UWlMw+oq8IusyvQdKztF2rU4
SyjnEOHcPtbLXMA24NHSAUov5L3xVcSu4he5A+QnY0Ghn0dZ7Wbk72aRZQP+MOk+
e18tdPRaXE35ux8s0ogLeuD04lju6z5/esJbP8LF8H6loiKCURxVOfYEhUugIMIc
ihb6h4o4cflz2tYV6USOHxUQ6pA78X7ftXGJhOOR1sf1/2GZcg7ZQvD0WqjNLbAo
U52yQl3/bKMVpezYLhkLxgzmRAdwbBdBFdiav8dX+QNYabLPG/0y6mkqK0pc59sS
Lsse/dXCPrxfI6MVbsSQAaFt4s/YNrf9NLabdPHShRlWX8pRc16feQFb7FoTCmWe
BzwBwG63Mvw2OOS0GrXIfXdFs9klbezoZ8Ql8Zb3CIZPWaBPAOYfCqZDHkDDAyQL
UYQyPJdIntHmxKbtMQr9
=frSU
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-27 15:35 [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Jonathan Callen
@ 2013-05-27 16:23 ` Mike Gilbert
2013-05-27 17:24 ` Tomáš Chvátal
` (2 subsequent siblings)
3 siblings, 0 replies; 9+ messages in thread
From: Mike Gilbert @ 2013-05-27 16:23 UTC (permalink / raw
To: Gentoo Dev
On Mon, May 27, 2013 at 11:35 AM, Jonathan Callen <abcd@gentoo.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> A quick reminder for anyone using python-r1.eclass or
> python-single-r1.eclass:
>
> These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should
> be included in REQUIRED_USE under the same USE conditionals (if any)
> that ${PYTHON_DEPS} is included in DEPEND/RDEPEND.
Thanks for that. I probably should have announced it myself.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-27 15:35 [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Jonathan Callen
2013-05-27 16:23 ` Mike Gilbert
@ 2013-05-27 17:24 ` Tomáš Chvátal
2013-05-27 21:38 ` [gentoo-dev] " Jonathan Callen
2013-05-27 19:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Pacho Ramos
2013-05-29 14:51 ` [gentoo-dev] " Michael Palimaka
3 siblings, 1 reply; 9+ messages in thread
From: Tomáš Chvátal @ 2013-05-27 17:24 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 124 bytes --]
Is there actually list of current offenders?
It would be pretty nice to have bugs opened if someone forgot to set it.
Tom
[-- Attachment #2: Type: text/html, Size: 200 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] Re: [gentoo-dev-announce] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-27 15:35 [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Jonathan Callen
2013-05-27 16:23 ` Mike Gilbert
2013-05-27 17:24 ` Tomáš Chvátal
@ 2013-05-27 19:51 ` Pacho Ramos
2013-05-29 14:51 ` [gentoo-dev] " Michael Palimaka
3 siblings, 0 replies; 9+ messages in thread
From: Pacho Ramos @ 2013-05-27 19:51 UTC (permalink / raw
To: gentoo-dev
El lun, 27-05-2013 a las 11:35 -0400, Jonathan Callen escribió:
> A quick reminder for anyone using python-r1.eclass or
> python-single-r1.eclass:
>
> These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should
> be included in REQUIRED_USE under the same USE conditionals (if any)
> that ${PYTHON_DEPS} is included in DEPEND/RDEPEND.
>
> For example, if your ebuild has:
>
> RDEPEND="
> python? ( ${PYTHON_DEPS}
> "
>
> then you should also have:
>
> REQUIRED_USE="
> python? ( ${PYTHON_REQUIRED_USE} )
> "
>
> And if your ebuild just has:
>
> RDEPEND="${PYTHON_DEPS}"
>
> then you should also have:
>
> REQUIRED_USE="${PYTHON_REQUIRED_USE}"
>
> Failure to include these in REQUIRED_USE may cause the eclass to die
> very late in the build process.
>
> Thank you,
>
> Jonathan Callen
Couldn't a repoman check be added for warning when an ebuild using that
eclasses don't set REQUIRED_USE at all?
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-27 17:24 ` Tomáš Chvátal
@ 2013-05-27 21:38 ` Jonathan Callen
0 siblings, 0 replies; 9+ messages in thread
From: Jonathan Callen @ 2013-05-27 21:38 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 05/27/2013 01:24 PM, Tomáš Chvátal wrote:
> Is there actually list of current offenders?
>
> It would be pretty nice to have bugs opened if someone forgot to
> set it.
>
> Tom
>
While there may be some false positives in this list, below is a list
of the ebuilds that inherit python-r1 or python-single-r1 that do not
include anything referencing python_targets_* in REQUIRED_USE:
app-accessibility/accerciser-3.6.2-r1
app-accessibility/accerciser-3.8.0
app-accessibility/accerciser-3.8.2
app-accessibility/caribou-0.4.10
app-accessibility/caribou-0.4.7
app-accessibility/caribou-0.4.8
app-accessibility/orca-3.6.3-r1
app-accessibility/orca-3.8.1
app-accessibility/pocketsphinx-0.8
app-accessibility/speech-dispatcher-0.7.1-r2
app-accessibility/speech-dispatcher-0.8-r1
app-accessibility/speech-dispatcher-0.8-r2
app-accessibility/sphinxbase-0.8
app-accessibility/SphinxTrain-1.0.8
app-arch/rpm-4.11.0.1
app-benchmarks/bootchart2-0.14.5-r1
app-cdr/cdemu-2.0.0
app-cdr/gcdemu-2.0.0
app-editors/gedit-3.6.2-r1
app-editors/gedit-3.8.1
app-editors/gedit-3.8.2
app-editors/gedit-plugins-3.6.1-r1
app-editors/gedit-plugins-3.8.1
app-editors/gedit-plugins-3.8.2
app-editors/gvim-7.3.905
app-editors/gvim-7.3.931
app-editors/gvim-9999
app-editors/vim-7.3.905
app-editors/vim-7.3.931
app-editors/vim-9999
app-emulation/crossover-bin-12.1.2
app-emulation/crossover-bin-12.2.0
app-emulation/libvirt-glib-0.1.5
app-emulation/libvirt-glib-0.1.6
app-emulation/xen-4.2.0-r1
app-emulation/xen-4.2.0-r2
app-emulation/xen-4.2.1-r1
app-emulation/xen-4.2.1-r2
app-emulation/xen-4.2.1-r3
app-emulation/xen-4.2.2
app-emulation/xen-tools-4.2.0-r3
app-emulation/xen-tools-4.2.1
app-emulation/xen-tools-4.2.1-r1
app-emulation/xen-tools-4.2.1-r2
app-emulation/xen-tools-4.2.1-r3
app-emulation/xen-tools-4.2.2-r1
app-i18n/ibus-1.5.2
app-i18n/ibus-anthy-1.5.0
app-i18n/mozc-1.10.1390.102
app-misc/byobu-5.39
app-misc/byobu-5.41
app-misc/byobu-5.41-r1
app-misc/evemu-1.1.0
app-misc/golly-2.4-r1
app-misc/grc-1.4-r1
app-misc/metromap-0.1.4-r1
app-misc/terminal-colors-1.5
app-misc/workrave-1.10
app-office/gnucash-2.4.12
app-office/gnumeric-1.12.0-r1
app-office/gnumeric-1.12.1
app-office/gnumeric-1.12.2
app-office/libreoffice-3.6.6.2
app-office/libreoffice-3.6.9999
app-office/libreoffice-4.0.3.3
app-office/libreoffice-4.0.9999
app-office/libreoffice-4.1.9999
app-office/libreoffice-9999-r2
app-office/planner-0.14.6_p20130520
app-office/scribus-1.4.2-r2
app-office/scribus-1.4.9999
app-pda/libimobiledevice-1.1.5
app-pda/libplist-1.10
app-shells/autojump-21.3.0-r1
app-shells/autojump-21.5.8
app-text/asciidoc-8.6.8-r1
app-text/asciidoc-9999
app-text/gnome-doc-utils-0.20.10-r1
app-text/gtranslator-2.91.6
app-text/pastebinit-1.3.1-r1
app-vim/splice-1.0.1
app-vim/vim-latex-1.8.23.20130116
dev-db/postgresql-server-8.4.17
dev-db/postgresql-server-9.0.13
dev-db/postgresql-server-9.1.9
dev-db/postgresql-server-9.2.4
dev-db/postgresql-server-9999
dev-java/antlr-2.7.7-r1
dev-java/antlr-2.7.7-r3
dev-java/antlr-2.7.7-r4
dev-java/antlr-2.7.7-r5
dev-lang/yasm-1.2.0-r1
dev-lang/yasm-9999
dev-libs/boost-1.52.0-r6
dev-libs/boost-1.53.0
dev-libs/botan-1.10.3-r1
dev-libs/btparser-0.24
dev-libs/cryptlib-3.4.0-r1
dev-libs/dee-1.0.14-r2
dev-libs/glib-2.36.1
dev-libs/glib-2.36.2
dev-libs/gobject-introspection-1.34.2-r1
dev-libs/gobject-introspection-1.36.0
dev-libs/libpeas-1.6.2-r1
dev-libs/libpeas-1.8.0
dev-libs/libpwquality-1.2.0-r2
dev-libs/libRocket-1.2.1
dev-libs/libRocket-1.2.1_p20130110
dev-libs/libRocket-1.2.1_p20130110-r1
dev-libs/libRocket-9999
dev-libs/libxml2-2.8.0-r4
dev-libs/libxml2-2.9.0-r1
dev-libs/libxml2-2.9.0-r2
dev-libs/libxslt-1.1.28-r1
dev-libs/newt-0.52.15
dev-python/compizconfig-python-0.8.4-r5
dev-python/docutils-glep-0.4-r1
dev-python/graph-tool-2.2.21
dev-python/graph-tool-2.2.22
dev-python/graph-tool-2.2.23
dev-python/graph-tool-9999
dev-python/gst-python-0.10.22-r1
dev-python/notify-python-0.1.1-r3
dev-python/psycopg-1.1.21-r1
dev-python/pyatspi-2.6.0-r1
dev-python/pyatspi-2.8.0
dev-python/pycairo-1.10.0-r4
dev-python/pygobject-2.28.6-r53
dev-python/pygobject-3.2.2-r1
dev-python/pygobject-3.4.2-r1
dev-python/pygobject-3.8.1
dev-python/pygobject-3.8.2
dev-python/pygoocanvas-0.14.1-r1
dev-python/pygtk-2.24.0-r3
dev-python/pygtksourceview-2.10.1-r1
dev-python/PyQt4-4.10
dev-python/PyQt4-4.10.1
dev-python/PyQt4-4.9.6-r2
dev-python/pyqwt-5.2.0-r1
dev-python/pyside-1.1.2-r1
dev-python/python-exec-0.2
dev-python/python-exec-0.3
dev-python/python-exec-0.3.1
dev-python/python-exec-9999
dev-python/python-poppler-0.12.1-r4
dev-python/qscintilla-python-2.7.1
dev-python/shiboken-1.1.2-r1
dev-python/sip-4.14.3
dev-python/sip-4.14.6
dev-python/subunit-0.0.10-r1
dev-python/telepathy-python-0.15.19-r1
dev-util/anjuta-3.6.2-r1
dev-util/anjuta-3.8.1
dev-util/anjuta-3.8.3
dev-util/catfish-0.6.3
dev-util/coccinelle-1.0.0_rc17
dev-util/devhelp-3.6.1-r1
dev-util/devhelp-3.8.1
dev-util/devhelp-3.8.2
dev-util/dwarves-1.10-r1
dev-util/fatrace-0.5
dev-util/glade-3.14.2
dev-util/gprof2dot-0_p20130517
dev-util/gtk-builder-convert-2.24.16
dev-util/gtk-builder-convert-2.24.17
dev-util/gtk-builder-convert-2.24.18
dev-util/meld-1.7.1
dev-util/meld-1.7.2
dev-vcs/git-bz-0.12.12.15
dev-vcs/git-bz-9999
dev-vcs/subversion-1.7.9
games-board/gnubg-20130203
games-fps/doomsday-1.9.8-r1
games-mud/wxmud-9999
games-puzzle/brainworkshop-4.8.4
games-rpg/adonthell-0.3.5-r1
games-rpg/wastesedge-0.3.5
games-util/pyfa-1.1.12
games-util/pyfa-1.1.13
gnome-base/gconf-3.2.6-r1
gnome-base/gnome-applets-3.6.0-r1
gnome-base/gnome-menus-3.6.2
gnome-base/gnome-shell-3.6.3.1
gnome-base/gnome-shell-3.8.2
gnome-extra/cinnamon-1.6.7-r1
gnome-extra/gnome-games-3.6.1-r1
gnome-extra/gnome-packagekit-3.6.1-r1
gnome-extra/gnome-packagekit-3.6.2
gnome-extra/gnome-tweak-tool-3.6.1-r1
gnome-extra/gnome-tweak-tool-3.7.4
gnome-extra/gnome-tweak-tool-3.8.0
gnome-extra/hamster-applet-2.32.1-r1
gnome-extra/libgda-5.1.1-r1
gnome-extra/libgsf-1.14.25
gnome-extra/zeitgeist-0.9.12
gnome-extra/zeitgeist-0.9.12-r1
gnome-extra/zeitgeist-0.9.5-r1
gnome-extra/zeitgeist-datasources-0.8.1
kde-base/kate-4.10.2
kde-base/kate-4.10.3
kde-base/krosspython-4.10.2
kde-base/krosspython-4.10.3
kde-base/lokalize-4.10.2
kde-base/lokalize-4.10.3
kde-base/pykde4-4.10.2
kde-base/pykde4-4.10.3
mail-client/claws-mail-3.9.1
mail-client/claws-mail-3.9.1-r1
media-gfx/blender-2.66
media-gfx/eog-plugins-3.6.1-r1
media-gfx/eog-plugins-3.8.0
media-gfx/eog-plugins-3.8.1
media-gfx/graphviz-2.28.0
media-gfx/inkscape-0.48.4-r1
media-libs/alsa-lib-1.0.26-r1
media-libs/alsa-lib-1.0.27-r2
media-libs/alsa-lib-1.0.27-r3
media-libs/gexiv2-0.6.0
media-libs/grilo-0.2.6
media-libs/lcms-1.19-r1
media-libs/lensfun-0.2.7
media-libs/mesa-9.1
media-libs/mesa-9.1.1
media-libs/mesa-9.1.2
media-libs/mesa-9.1.2-r1
media-libs/mesa-9.1.3
media-libs/mesa-9.2_pre20130515
media-libs/opencolorio-1.0.8
media-libs/openimageio-1.1.7
media-libs/vigra-1.8.0-r1
media-plugins/quodlibet-plugins-2.5
media-sound/csound-5.19.01
media-sound/lilypond-2.16.2
media-sound/lilypond-2.17.16
media-sound/lilypond-2.17.17
media-sound/lilypond-2.17.18
media-sound/lilypond-9999
media-sound/rhythmbox-2.99.1
media-sound/solfege-3.20.8
media-sound/solfege-3.21.4
media-tv/xbmc-12.1-r1
media-tv/xbmc-12.2
media-tv/xbmc-9999
media-video/pitivi-0.15.2
media-video/totem-3.6.3-r1
media-video/totem-3.8.0
media-video/totem-3.8.2
net-analyzer/wireshark-1.10.0_rc2
net-analyzer/wireshark-1.6.15
net-analyzer/wireshark-1.8.7
net-dialup/capisuite-0.4.5-r8
net-dns/unbound-1.4.20
net-firewall/firewalld-0.2.12
net-firewall/firewalld-0.2.9-r1
net-fs/netatalk-3.0.3
net-fs/samba-4.0.4
net-fs/samba-4.0.5
net-im/bitlbee-3.2
net-im/ekg2-0.3.1-r1
net-im/ekg2-9999
net-im/gajim-0.15.3-r1
net-im/gajim-0.15.4
net-irc/hexchat-2.9.4-r2
net-irc/hexchat-2.9.5
net-irc/telepathy-idle-0.1.15
net-irc/telepathy-idle-0.1.16
net-irc/weechat-0.4.0
net-irc/weechat-0.4.1
net-irc/weechat-9999
net-libs/gtk-vnc-0.5.2
net-libs/gupnp-igd-0.2.2-r1
net-libs/libproxy-0.4.11-r1
net-libs/telepathy-glib-0.20.1-r1
net-libs/telepathy-glib-0.20.2
net-mail/fetchmail-6.3.26
net-mail/mpop-1.0.28
net-misc/blogtk-2.0-r1
net-misc/dropbox-cli-1-r1
net-misc/elliptics-eblob-0.18.0
net-misc/guidedog-1.1-r1
net-misc/openvswitch-1.9.0
net-misc/rabbitmq-server-3.1.1
net-misc/youtube-dl-2013.02.25
net-misc/youtube-dl-2013.04.18
net-misc/youtube-dl-2013.04.21
net-misc/youtube-dl-2013.04.22
net-misc/youtube-dl-2013.04.28
net-misc/youtube-dl-2013.04.31
net-misc/youtube-dl-2013.05.01
net-misc/youtube-dl-2013.05.10
net-misc/youtube-dl-2013.05.14
net-nntp/inn-2.5.3-r1
net-p2p/transmission-remote-cli-1.4.7
net-p2p/transmission-remote-cli-1.4.7-r1
net-p2p/transmission-remote-cli-1.5.0
net-print/hplip-3.13.4
net-print/hplip-3.13.5
net-proxy/hatop-0.7.7
net-voip/telepathy-haze-0.7.0
net-wireless/bluez-4.101-r5
sci-biology/seqan-1.3.1-r1
sci-biology/shrimp-2.2.3
sci-biology/vienna-rna-2.1.1
sci-calculators/gonvert-0.2.32
sci-chemistry/acpype-389
sci-chemistry/aria-2.3.2-r5
sci-chemistry/ball-1.4.1-r1
sci-chemistry/ccpn-2.2.2_p130318
sci-chemistry/ccpn-2.2.2_p130318-r1
sci-chemistry/openbabel-python-2.3.2
sci-chemistry/pdb-tools-0.1.4-r4
sci-chemistry/pdb-tools-0.2.1
sci-chemistry/pdb-tools-0.2.1-r1
sci-chemistry/pymol-plugins-dynamics-1.2.0
sci-chemistry/pymol-plugins-promol-3.0.2-r1
sci-chemistry/relax-2.2.1
sci-chemistry/relax-2.2.5
sci-geosciences/osm-gps-map-0.7.3
sci-geosciences/qgis-1.8.0
sci-libs/ccp4-libs-6.1.3-r12
sci-libs/ccp4-libs-6.1.3-r13
sci-libs/ccpn-data-2.2.2_p121112-r1
sci-libs/cctbx-2010.03.29.2334-r7
sci-libs/scikits-0.1-r1
sci-physics/root-5.34.07
sci-visualization/paraview-3.98.0
sci-visualization/paraview-3.98.0-r1
sys-apps/etckeeper-0.63-r1
sys-apps/systemd-197-r1
sys-apps/systemd-200-r1
sys-apps/systemd-201
sys-apps/systemd-202
sys-apps/systemd-203-r1
sys-apps/systemd-204
sys-apps/systemd-9999
sys-apps/usbutils-006-r1
sys-apps/yum-3.4.3-r1
sys-auth/pam_usb-0.5.0
sys-cluster/crmsh-1.2.5-r2
sys-devel/clang-3.2
sys-devel/clang-9999
sys-devel/distcc-3.1-r7
sys-libs/libsmbios-2.2.28
virtual/pmw-1
virtual/pyfits-0
virtual/pyparsing-0
virtual/pyparsing-1
virtual/pyparsing-2
virtual/python-argparse-0
virtual/python-argparse-1
virtual/python-json-0
virtual/python-unittest2-1
virtual/pyvo-0
virtual/pywcs-0
x11-libs/libxcb-1.9-r1
x11-libs/vte-0.28.2-r206
x11-libs/xpyb-1.3.1-r1
x11-libs/xpyb-1.3.1-r2
x11-misc/alacarte-3.6.1-r1
x11-misc/alacarte-3.7.90
x11-misc/dex-0.6
x11-misc/redshift-1.7-r1
x11-misc/sunflower-0.1_alpha53
x11-misc/sunflower-0.1_alpha54
x11-misc/sunflower-0.1_alpha55
x11-proto/xcb-proto-1.8-r1
x11-proto/xcb-proto-1.8-r2
x11-proto/xcb-proto-1.8-r3
- --
Jonathan Callen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBCgAGBQJRo9JhAAoJELHSF2kinlg4iCQQALEy5Zp4D7tAx3eJn+Ijn+3u
JSQ0NZhCSp9c598+xkOLsHwa6B1O2NpJpnQMNjB9x1SSUlF85J6Vuer9PaswDuAs
vZLGrjUyK4PwzghIFaOfzGShfW9HhQUi7UkuSmasgzyRiVgQJEwZ31IhX+SY0yeX
87AUYPIBGqzYoShNtvBT17GHw/02Et9/Gsm+wexE+BjXtH5RQXsjrCbQiXKtAXBI
Y7u2sgl/tLIo5sPeKgPZtS4mKB0h02sGGOr5nIp3Pt9x1hc3deRskWl+mi1pci8H
wGVlzyoGM0ZcxYdFsVbwbTMlgzsbuiupE2t62BPnfV0qAX6Y2qzdWIRj3QM6eFhx
KioaXgO6MiaLpA/J4Wby0eRxrNM/LSNiEJO2rhcnr1csAwLdVGlEXWqTpChY+DVn
EFv0pDzePylvHFU6LyBx4r06afqoeawjslO3ZQcl6EYDD3+ywi+m75nlMp2QgNAq
jvliqb52rE02pqiPbjyAsBpQPCPLSvXH/KRk6vtPpMBVq373mmHPJfa5D2vpQwaj
VuN/3XfREF9eucefFQ3KPD8PDxmnqk5tZ9wjkBcsnrXmPhiq3hh6O35WBHYVhQKj
JXhD/+VolhU04B9WlOvYM/gkiN7FVNqX6k9vczQZYzVYx3pCAOUEVSR9hTpSTYgL
p9StTSBgRHOCsAjL9zHl
=key7
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-27 15:35 [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Jonathan Callen
` (2 preceding siblings ...)
2013-05-27 19:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Pacho Ramos
@ 2013-05-29 14:51 ` Michael Palimaka
2013-05-29 15:06 ` hasufell
2013-05-31 6:43 ` Sergey Popov
3 siblings, 2 replies; 9+ messages in thread
From: Michael Palimaka @ 2013-05-29 14:51 UTC (permalink / raw
To: gentoo-dev
On 28/05/2013 01:35, Jonathan Callen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> A quick reminder for anyone using python-r1.eclass or
> python-single-r1.eclass:
>
> These eclasses provide a ${PYTHON_REQUIRED_USE} variable that should
> be included in REQUIRED_USE under the same USE conditionals (if any)
> that ${PYTHON_DEPS} is included in DEPEND/RDEPEND.
>
> For example, if your ebuild has:
>
> RDEPEND="
> python? ( ${PYTHON_DEPS}
> "
>
> then you should also have:
>
> REQUIRED_USE="
> python? ( ${PYTHON_REQUIRED_USE} )
> "
>
> And if your ebuild just has:
>
> RDEPEND="${PYTHON_DEPS}"
>
> then you should also have:
>
> REQUIRED_USE="${PYTHON_REQUIRED_USE}"
>
> Failure to include these in REQUIRED_USE may cause the eclass to die
> very late in the build process.
>
> Thank you,
>
> Jonathan Callen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.19 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCgAGBQJRo309AAoJELHSF2kinlg4dVcP/2t3v1t8CId8jK/c4VG8HLWL
> zTEvTI3d8wQILuHydI9VkOZllo3dPWhhUhg/1qJjwEXXnKQXiYNUiVzbtwdkGro/
> OlkCrrpDstHgawHiovIZjgyEG9Y+Nz2Z5nKorZIAMFSFepaFsIkihVR3VkeHiG9Q
> 7XOOVaH8mqGuj7JWZNqikCmB11a6t08jVM68tzwtTZUuil1IRE2qjO5akMPczsvk
> 3ndoMsv5hQwUE4wmmTH4ffiz+wp/JUylK2Ypy6p/UWlMw+oq8IusyvQdKztF2rU4
> SyjnEOHcPtbLXMA24NHSAUov5L3xVcSu4he5A+QnY0Ghn0dZ7Wbk72aRZQP+MOk+
> e18tdPRaXE35ux8s0ogLeuD04lju6z5/esJbP8LF8H6loiKCURxVOfYEhUugIMIc
> ihb6h4o4cflz2tYV6USOHxUQ6pA78X7ftXGJhOOR1sf1/2GZcg7ZQvD0WqjNLbAo
> U52yQl3/bKMVpezYLhkLxgzmRAdwbBdBFdiav8dX+QNYabLPG/0y6mkqK0pc59sS
> Lsse/dXCPrxfI6MVbsSQAaFt4s/YNrf9NLabdPHShRlWX8pRc16feQFb7FoTCmWe
> BzwBwG63Mvw2OOS0GrXIfXdFs9klbezoZ8Ql8Zb3CIZPWaBPAOYfCqZDHkDDAyQL
> UYQyPJdIntHmxKbtMQr9
> =frSU
> -----END PGP SIGNATURE-----
>
>
Would it be possible to add repoman checks for this, and other common
failures like missing PYTHON_USEDEP?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-29 14:51 ` [gentoo-dev] " Michael Palimaka
@ 2013-05-29 15:06 ` hasufell
2013-05-29 15:16 ` Michael Palimaka
2013-05-31 6:43 ` Sergey Popov
1 sibling, 1 reply; 9+ messages in thread
From: hasufell @ 2013-05-29 15:06 UTC (permalink / raw
To: gentoo-dev
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 05/29/2013 04:51 PM, Michael Palimaka wrote:
> Would it be possible to add repoman checks for this, and other
> common failures like missing PYTHON_USEDEP?
>
>
The latter is impossible. Repoman has no way to figure out if
PYTHON_USEDEP is necessary.
You have to keep in mind that PYTHON_USEDEP does _not_ apply to every
python dependency. If your application just runs a python script of
another application, then it might not care under which implementation
that is executed.
If it's about importing modules, then we always need PYTHON_USEDEP.
But how should repoman know?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJRphl3AAoJEFpvPKfnPDWzKvkIAK9KTyK6bAjLMz7xD2xaC5lD
QJptr5mEWH3MR+rTyyTSF0YJdPpDR0R3lJDDmUUqqE+xlCSO1kKaEYdJ1bNzQ/Kv
fMxJEi99UA90Znn+G0gIzBOuqECOk9KZkuhkgCqZAatGgIJ6dc7sboVS7c8pZo8x
vwbSvhKw8iJEY26HENspZQSmWupsYy++JG6iERU0GBnpSRDxvTbquanZ6zdo/og7
GbbDYbGA8OVICNBwhpIgDeStxRtpBaLw9c6BDtN+6FXf33s/hR2nAPpwX/3kLHrD
thb+/Xf17G8Ao8JJdNns0gAA5ivzDZvETgQTvh8QH4wFzrlDH4MVcoeuLdhhlUU=
=EwlO
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-29 15:06 ` hasufell
@ 2013-05-29 15:16 ` Michael Palimaka
0 siblings, 0 replies; 9+ messages in thread
From: Michael Palimaka @ 2013-05-29 15:16 UTC (permalink / raw
To: gentoo-dev
On 30/05/2013 01:06, hasufell wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 05/29/2013 04:51 PM, Michael Palimaka wrote:
>> Would it be possible to add repoman checks for this, and other
>> common failures like missing PYTHON_USEDEP?
>>
>>
>
> The latter is impossible. Repoman has no way to figure out if
> PYTHON_USEDEP is necessary.
>
> You have to keep in mind that PYTHON_USEDEP does _not_ apply to every
> python dependency. If your application just runs a python script of
> another application, then it might not care under which implementation
> that is executed.
> If it's about importing modules, then we always need PYTHON_USEDEP.
> But how should repoman know?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.20 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQEcBAEBAgAGBQJRphl3AAoJEFpvPKfnPDWzKvkIAK9KTyK6bAjLMz7xD2xaC5lD
> QJptr5mEWH3MR+rTyyTSF0YJdPpDR0R3lJDDmUUqqE+xlCSO1kKaEYdJ1bNzQ/Kv
> fMxJEi99UA90Znn+G0gIzBOuqECOk9KZkuhkgCqZAatGgIJ6dc7sboVS7c8pZo8x
> vwbSvhKw8iJEY26HENspZQSmWupsYy++JG6iERU0GBnpSRDxvTbquanZ6zdo/og7
> GbbDYbGA8OVICNBwhpIgDeStxRtpBaLw9c6BDtN+6FXf33s/hR2nAPpwX/3kLHrD
> thb+/Xf17G8Ao8JJdNns0gAA5ivzDZvETgQTvh8QH4wFzrlDH4MVcoeuLdhhlUU=
> =EwlO
> -----END PGP SIGNATURE-----
>
>
Sorry, I meant to write PYTHON_DEPS.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-dev] Re: PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE
2013-05-29 14:51 ` [gentoo-dev] " Michael Palimaka
2013-05-29 15:06 ` hasufell
@ 2013-05-31 6:43 ` Sergey Popov
1 sibling, 0 replies; 9+ messages in thread
From: Sergey Popov @ 2013-05-31 6:43 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
29.05.2013 18:51, Michael Palimaka пишет:
> Would it be possible to add repoman checks for this, and other common
> failures like missing PYTHON_USEDEP?
+1 for repoman check on PYTHON_REQUIRED_USE and PYTHON_DEPS
--
Best regards, Sergey Popov
Gentoo developer
Gentoo Desktop Effects project lead
Gentoo Qt project lead
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 555 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2013-05-31 6:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-27 15:35 [gentoo-dev] PSA: python-r1.eclass, python-single-r1.eclass, and REQUIRED_USE Jonathan Callen
2013-05-27 16:23 ` Mike Gilbert
2013-05-27 17:24 ` Tomáš Chvátal
2013-05-27 21:38 ` [gentoo-dev] " Jonathan Callen
2013-05-27 19:51 ` [gentoo-dev] Re: [gentoo-dev-announce] " Pacho Ramos
2013-05-29 14:51 ` [gentoo-dev] " Michael Palimaka
2013-05-29 15:06 ` hasufell
2013-05-29 15:16 ` Michael Palimaka
2013-05-31 6:43 ` Sergey Popov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox