public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-python] New QA tools for python-r1
@ 2012-12-08 16:02 Michał Górny
  2012-12-10  9:33 ` Michał Górny
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2012-12-08 16:02 UTC (permalink / raw
  To: gentoo-python; +Cc: python

[-- Attachment #1: Type: text/plain, Size: 1400 bytes --]

Hello,

I just have finished two QA tools useful for the python-r1 migration.
Both require gentoopm and pkgcore installed. Additionally, since
current pkgcore release fails to work in a tree with EAPI=5 packages,
pkgcore-9999 is required as well.


py-depcheck is a tool which scans python-r1 packages for missing
$PYTHON_USEDEPs. It is useful to catch leftover reverse dependencies
of migrated packages.

$ ./py-depcheck lxml
=dev-python/lxml-3.0.1: needs PYTHON_USEDEP on dev-python/setuptools


py-depcands is a tool which scans python-r1 packages for python.eclass
dependencies and suggests migrating them recursively.

$ ./py-depcands synopsis
[note: each package is listed at most once]
=dev-util/synopsis-0.13
    media-gfx/graphviz
        >=dev-libs/glib-2.11.1
            >=dev-libs/libxslt-1.0
                >=dev-libs/libxml2-2.6.27:2
            >=sys-apps/dbus-1.2.14
                sys-libs/libselinux
                app-doc/doxygen
Statistics:
    1 =sys-apps/dbus-1.6.8-r1
    1 =dev-libs/libxslt-1.1.27
    1 =app-doc/doxygen-1.8.2
    2 =sys-libs/libselinux-2.1.12-r2
    2 =dev-libs/libxml2-2.8.0-r3
    3 =dev-libs/glib-2.34.2
    4 =media-gfx/graphviz-2.28.0


Both accept either package atoms, or scan the whole tree. I will add
them to our QA scripts after testing (those on qa-reports.g.o).

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 316 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-10  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-08 16:02 [gentoo-python] New QA tools for python-r1 Michał Górny
2012-12-10  9:33 ` Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox