this is an ebuild for: a software which "Build and operate an electronic whiteboard using gnu/linux, a wiimote and an IR pen." HOMEPAGE="http://github.com/pnegre/python-whiteboard" this bug is related with bug #334809 I offer myself as a proxy-maintainer for this ebuild. Reproducible: Always Steps to Reproduce:
Created attachment 256747 [details] Changelog
Created attachment 256748 [details] Manifest
Created attachment 256750 [details] metadata.xml
Created attachment 256752 [details] files/python-whiteboard-0.9.4.makefile
Created attachment 256753 [details] files/python-whiteboard-0.9.4.stuffdir.patch
Created attachment 256754 [details] python-whiteboard-0.9.4.ebuild
Created attachment 256756 [details] python-whiteboard-9999.ebuild
p.s.: this bug depends from bug #347630 for app-misc/cwiid.
In the meantime, it looks like your ebuild has several QA flaws, you may want to check it using repoman and read the Gentoo devmanual at: http://devmanual.gentoo.org
?I've no Qa flaws. s939 python-whiteboard # repoman RepoMan scours the neighborhood... ebuild.allmasked 1 x11-apps/python-whiteboard KEYWORDS.missing 1 x11-apps/python-whiteboard/python-whiteboard-0.9.4.ebuild RepoMan sez: "You're only giving me a partial QA payment? I'll take it this time, but I'm not happy." s939 python-whiteboard # emerge =python-whiteboard-0.9.4 Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-apps/python-whiteboard-0.9.4 from wiidea * pnegre-python-whiteboard-da2c90b.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: x11-apps/python-whiteboard-0.9.4 * Repository: wiidea * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox * Using bashrcng profile [ 1.1.4 ] >>> Unpacking source... >>> Unpacking pnegre-python-whiteboard-da2c90b.tar.gz to /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/work >>> Source unpacked in /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/work >>> Preparing source in /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/work/pnegre-python-whiteboard-da2c90b ... * Applying python-whiteboard-0.9.4.stuffdir.patch ... [ ok ] lrelease trans/*.ts Updating 'trans/pywhiteboard_ca.qm'... Generated 65 translation(s) (65 finished and 0 unfinished) Ignored 17 untranslated source text(s) Updating 'trans/pywhiteboard_es.qm'... Generated 61 translation(s) (60 finished and 1 unfinished) Ignored 21 untranslated source text(s) Updating 'trans/pywhiteboard_it.qm'... Generated 82 translation(s) (82 finished and 0 unfinished) Updating 'trans/pywhiteboard_zh.qm'... Generated 82 translation(s) (82 finished and 0 unfinished) >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/work/pnegre-python-whiteboard-da2c90b ... >>> Source configured. * patching plugin disabled [ no valid patch(es) found ] >>> Compiling source in /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/work/pnegre-python-whiteboard-da2c90b ... python2.6 setup.py build >>> Source compiled. >>> Test phase [not enabled]: x11-apps/python-whiteboard-0.9.4 >>> Install python-whiteboard-0.9.4 into /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image/ category x11-apps mkdir -p "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/bin" mkdir -p "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/pixmaps" mkdir -p "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/applications" mkdir -p "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/qt4/translations/" mkdir -p "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard" cp python-whiteboard "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/lib64/python2.6/site-packages/python-whiteboard" cp README "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/lib64/python2.6/site-packages/python-whiteboard" cp stuff/* /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard cp dist/pywb_pixmap.xpm /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/pixmaps cp dist/python-whiteboard.desktop /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/applications ln -s "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/lib64/python2.6/site-packages/python-whiteboard/python-whiteboard" "/var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/bin/" cp trans/*.qm /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image//usr/share/qt4/translations/ >>> Completed installing python-whiteboard-0.9.4 into /var/tmp/portage/x11-apps/python-whiteboard-0.9.4/image/ >>> Done. >>> Installing (1 of 1) x11-apps/python-whiteboard-0.9.4 * Running lafilefixer ... [ ok ] * Compilation and optimization of Python modules for CPython 2.6 ... [ ok ] >>> Auto-cleaning packages... * waiting for lock on /var/db/.pkg.portage_lockfile ... [ ok ] >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. s939 python-whiteboard # emerge =python-whiteboard-9999 Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) x11-apps/python-whiteboard-9999 from wiidea * Package: x11-apps/python-whiteboard-9999 * Repository: wiidea * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: preserve-libs sandbox * Using bashrcng profile [ 1.1.4 ] >>> Unpacking source... * GIT update --> * repository: git://github.com/pnegre/python-whiteboard.git * at the commit: da2c90b07a86c5b674fdc3da10d2e921576a8799 * branch: master * storage directory: "/var/gentoo-var/distfiles/git-src/python-whiteboard" Cloning into /var/tmp/portage/x11-apps/python-whiteboard-9999/work/python-whiteboard-9999... done. >>> Unpacked to /var/tmp/portage/x11-apps/python-whiteboard-9999/work/python-whiteboard-9999 >>> Source unpacked in /var/tmp/portage/x11-apps/python-whiteboard-9999/work >>> Preparing source in /var/tmp/portage/x11-apps/python-whiteboard-9999/work/python-whiteboard-9999 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-apps/python-whiteboard-9999/work/python-whiteboard-9999 ... >>> Source configured. * patching plugin disabled [ no valid patch(es) found ] >>> Compiling source in /var/tmp/portage/x11-apps/python-whiteboard-9999/work/python-whiteboard-9999 ... Updating 'trans/pywhiteboard_it.qm'... Generated 82 translation(s) (82 finished and 0 unfinished) >>> Source compiled. >>> Test phase [not enabled]: x11-apps/python-whiteboard-9999 >>> Install python-whiteboard-9999 into /var/tmp/portage/x11-apps/python-whiteboard-9999/image/ category x11-apps mkdir -p /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/lib/python-whiteboard mkdir -p /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/pixmaps mkdir -p /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/applications mkdir -p /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/bin mkdir -p /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/qt4/translations/ cp python-whiteboard /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/bin cp stuff/* /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/lib/python-whiteboard cp dist/pywb_pixmap.xpm /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/pixmaps cp dist/python-whiteboard.desktop /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/applications cp trans/*.qm /var/tmp/portage/x11-apps/python-whiteboard-9999/image//usr/share/qt4/translations/ >>> Completed installing python-whiteboard-9999 into /var/tmp/portage/x11-apps/python-whiteboard-9999/image/ >>> Done. >>> Installing (1 of 1) x11-apps/python-whiteboard-9999 * Running lafilefixer ... [ ok ] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/wiimote.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/threads.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/pywhiteboard.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/calibration.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/configuration.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard/cursor.py[co] <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib/python-whiteboard <<< /usr/lib64/python2.6/site-packages/python-whiteboard/lib <<< /usr/lib64/python2.6/site-packages/python-whiteboard >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
Created attachment 258900 [details] python-whiteboard-0.9.4.ebuild a bad problem in this ebuild comes from cwiid dependence, which can no be removed. the upper emerge log was done empting KEYWORDS in python-whiteboard-0.9.4.ebuild, which is almost ugly. but, in this moment, I cannot do nothing to avoid this issue.
python-whiteboard-0.9.4: 1. DEPEND="" Declare RDEPEND first, then DEPEND="${RDEPEND}" 2. SRC_URI gives HTTP 404, and it doesn't look like 0.9.4 version. http://download.github.com/pnegre-python-whiteboard-da2c90b.tar.gz 3. DESCRIPTION Longer than 80 chars, contains \n and it's GNU/Linux, not gnu/linux. etc 4. RDEPEND= Excessive \n usage. See http://devmanual.gentoo.org/general-concepts/dependencies/index.html, Basic Dependency Syntax 5. IUSE with -feature default Is it really needed? Why don't you just add IUSE="linguas", which is much more easy than its negative form? 6. if ! use disable-linguas; then make languages;fi Please use "use foo || do_something" or "use foo && do_something". But that syntax is ugly (also its irregular spacing). 7. src_install and ARCH!? Please inherit multilib and use $(get_libdir) for getting /usr/lib{64,} path string. 8. src_install and wrong DESTDIR usage It's make VARIABLE install, not VARIABLE make install. Also, I'm not getting the rationale of: PYTHON_SLOT="$(python_get_implementational_package)" PYTHON_SLOT=${PYTHON_SLOT:$((${#PYTHON_SLOT}-3))} >setup.py What is it supposed to do? I cannot test since the tarball is not available (broken SRC_URI). There are probably other issues in the ebuild, but I need to have those fixes at least.
Created attachment 259254 [details] python-whiteboard-20101012.ebuild python-whiteboard source code is git distribuited. so, the better way to refer source code should to using git commit and release date. new ebuild submitted. Changements: - removed use disable-linguas: may it be readded later in a more flexibe way. - simplified code, avoinding distutils - removed unusefull 9999 ebuild
Created attachment 259255 [details] python-whiteboard-20101012.makefile
Created attachment 259256 [details] python-whiteboard-20101012.stuffdir.patch
Created attachment 259258 [details] metadata.xml metadata.xml problem: http://www.gentoo.org/dtd/metadata.dtd does not accept any type for github. used fake "sourceforge" for the moment. please suggest some solution.
Created attachment 259259 [details] Manifest
Created attachment 259260 [details] ChangeLog
Created attachment 259789 [details] python-whiteboard-20101012.ebuild ebuild remaked to make obsolete python-whiteboard-20101012.makefile
Done. +*python-whiteboard-20101012 (01 Feb 2011) + + 01 Feb 2011; Fabio Erculiani <lxnay@gentoo.org> + +python-whiteboard-20101012.ebuild, +metadata.xml: + new ebuild, close bug #348288 +