Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348288 - x11-apps/python-whiteboard - Build and operate an electronic whiteboard using gnu/linux, a wiimote and an IR pen
Summary: x11-apps/python-whiteboard - Build and operate an electronic whiteboard using...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fabio Erculiani (RETIRED)
URL: http://github.com/pnegre/python-white...
Whiteboard:
Keywords:
Depends on: 347630 351639
Blocks: 334809
  Show dependency tree
 
Reported: 2010-12-09 17:37 UTC by Marco Clocchiatti
Modified: 2011-02-01 22:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Changelog (ChangeLog,788 bytes, text/plain)
2010-12-09 17:38 UTC, Marco Clocchiatti
Details
Manifest (Manifest,1.39 KB, text/plain)
2010-12-09 17:39 UTC, Marco Clocchiatti
Details
metadata.xml (metadata.xml,367 bytes, text/plain)
2010-12-09 17:39 UTC, Marco Clocchiatti
Details
files/python-whiteboard-0.9.4.makefile (python-whiteboard-0.9.4.makefile,616 bytes, text/plain)
2010-12-09 17:40 UTC, Marco Clocchiatti
Details
files/python-whiteboard-0.9.4.stuffdir.patch (python-whiteboard-0.9.4.stuffdir.patch,320 bytes, text/plain)
2010-12-09 17:40 UTC, Marco Clocchiatti
Details
python-whiteboard-0.9.4.ebuild (python-whiteboard-0.9.4.ebuild,1.08 KB, text/plain)
2010-12-09 17:41 UTC, Marco Clocchiatti
Details
python-whiteboard-9999.ebuild (python-whiteboard-9999.ebuild,1.05 KB, text/plain)
2010-12-09 17:41 UTC, Marco Clocchiatti
Details
python-whiteboard-0.9.4.ebuild (python-whiteboard-0.9.4.ebuild,1.07 KB, text/plain)
2011-01-05 07:07 UTC, Marco Clocchiatti
Details
python-whiteboard-20101012.ebuild (python-whiteboard-20101012.ebuild,984 bytes, text/plain)
2011-01-08 05:34 UTC, Marco Clocchiatti
Details
python-whiteboard-20101012.makefile (python-whiteboard-20101012.makefile,616 bytes, text/plain)
2011-01-08 05:35 UTC, Marco Clocchiatti
Details
python-whiteboard-20101012.stuffdir.patch (python-whiteboard-20101012.stuffdir.patch,320 bytes, text/plain)
2011-01-08 05:36 UTC, Marco Clocchiatti
Details
metadata.xml (metadata.xml,1.10 KB, text/plain)
2011-01-08 05:37 UTC, Marco Clocchiatti
Details
Manifest (Manifest,1012 bytes, text/plain)
2011-01-08 05:37 UTC, Marco Clocchiatti
Details
ChangeLog (ChangeLog,1.29 KB, text/plain)
2011-01-08 05:37 UTC, Marco Clocchiatti
Details
python-whiteboard-20101012.ebuild (python-whiteboard-20101012.ebuild,1.28 KB, text/plain)
2011-01-14 11:05 UTC, Marco Clocchiatti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2010-12-09 17:37:17 UTC
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:
Comment 1 Marco Clocchiatti 2010-12-09 17:38:44 UTC
Created attachment 256747 [details]
Changelog
Comment 2 Marco Clocchiatti 2010-12-09 17:39:06 UTC
Created attachment 256748 [details]
Manifest
Comment 3 Marco Clocchiatti 2010-12-09 17:39:28 UTC
Created attachment 256750 [details]
metadata.xml
Comment 4 Marco Clocchiatti 2010-12-09 17:40:18 UTC
Created attachment 256752 [details]
files/python-whiteboard-0.9.4.makefile
Comment 5 Marco Clocchiatti 2010-12-09 17:40:48 UTC
Created attachment 256753 [details]
files/python-whiteboard-0.9.4.stuffdir.patch
Comment 6 Marco Clocchiatti 2010-12-09 17:41:15 UTC
Created attachment 256754 [details]
python-whiteboard-0.9.4.ebuild
Comment 7 Marco Clocchiatti 2010-12-09 17:41:37 UTC
Created attachment 256756 [details]
python-whiteboard-9999.ebuild
Comment 8 Marco Clocchiatti 2010-12-10 14:34:20 UTC
p.s.:
this bug depends from bug #347630 for app-misc/cwiid.
Comment 9 Fabio Erculiani (RETIRED) gentoo-dev 2011-01-04 23:14:42 UTC
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
Comment 10 Marco Clocchiatti 2011-01-05 07:03:07 UTC
?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.
Comment 11 Marco Clocchiatti 2011-01-05 07:07:46 UTC
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.
Comment 12 Fabio Erculiani (RETIRED) gentoo-dev 2011-01-05 08:18:04 UTC
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.
Comment 13 Marco Clocchiatti 2011-01-08 05:34:44 UTC
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
Comment 14 Marco Clocchiatti 2011-01-08 05:35:50 UTC
Created attachment 259255 [details]
python-whiteboard-20101012.makefile
Comment 15 Marco Clocchiatti 2011-01-08 05:36:11 UTC
Created attachment 259256 [details]
python-whiteboard-20101012.stuffdir.patch
Comment 16 Marco Clocchiatti 2011-01-08 05:37:10 UTC
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.
Comment 17 Marco Clocchiatti 2011-01-08 05:37:34 UTC
Created attachment 259259 [details]
Manifest
Comment 18 Marco Clocchiatti 2011-01-08 05:37:53 UTC
Created attachment 259260 [details]
ChangeLog
Comment 19 Marco Clocchiatti 2011-01-14 11:05:39 UTC
Created attachment 259789 [details]
python-whiteboard-20101012.ebuild

ebuild remaked to make obsolete python-whiteboard-20101012.makefile
Comment 20 Fabio Erculiani (RETIRED) gentoo-dev 2011-02-01 22:05:12 UTC
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
+