Summary: | =app-office/taskcoach-1.3.32-r1 - mv: cannot stat '/var/tmp/portage/app-office/taskcoach-1.3.32-r1/image//usr/bin/taskcoach.py-*': No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Johannes Hirte <johannes.hirte> |
Component: | Current packages | Assignee: | Vlastimil Babka (Caster) (RETIRED) <caster> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | confabulate, sven.eden |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 487108 | ||
Attachments: |
app-office:taskcoach-1.3.32-r1:20131017-233045.log
app-office/taskcoach-1.3.32-r2.ebuild app-office/taskcoach-1.3.33.ebuild Add a symlink to not use *.py file |
Description
Johannes Hirte
2013-10-17 19:53:43 UTC
Created attachment 361172 [details]
app-office:taskcoach-1.3.32-r1:20131017-233045.log
Created attachment 362310 [details]
app-office/taskcoach-1.3.32-r2.ebuild
Created attachment 362312 [details]
app-office/taskcoach-1.3.33.ebuild
Comment on attachment 362310 [details] app-office/taskcoach-1.3.32-r2.ebuild ># Copyright 1999-2013 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/app-office/taskcoach/taskcoach-1.3.32-r1.ebuild,v 1.1 2013/09/09 17:54:05 ago Exp $ > >EAPI=5 > >PYTHON_COMPAT=( python{2_6,2_7} ) > >inherit distutils-r1 eutils > >MY_PN="TaskCoach" >MY_P="${MY_PN}-${PV}" > >DESCRIPTION="Simple personal tasks and todo lists manager" >HOMEPAGE="http://www.taskcoach.org http://pypi.python.org/pypi/TaskCoach" >SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" >LICENSE="GPL-3" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="libnotify" >DEPEND=">=dev-python/wxpython-2.8.9.2:2.8[${PYTHON_USEDEP}]" >RDEPEND="${DEPEND} > libnotify? ( dev-python/notify-python[${PYTHON_USEDEP}] )" > >S="${WORKDIR}/${MY_P}" > >DOCS=( CHANGES.txt README.txt ) > >python_install_all() { > distutils-r1_python_install_all > doicon "icons.in/${PN}.png" > make_desktop_entry ${PN} "Task Coach" ${PN} Office >} Comment on attachment 362310 [details]
app-office/taskcoach-1.3.32-r2.ebuild
removing the section "# a bit ugly but..." solved the failure to me
Comment on attachment 362312 [details]
app-office/taskcoach-1.3.33.ebuild
even version 1.3.33 build works like a charm based on 1.3.32-r2 ebuild file
(In reply to Wiener from comment #6) > Comment on attachment 362312 [details] > app-office/taskcoach-1.3.33.ebuild > > even version 1.3.33 build works like a charm based on 1.3.32-r2 ebuild file I had the issue on one machine, where the "python-exec-move" was already done. On another, prior to this move, everything went fine. However, your version 1.3.33 ebuild worked like a charm on the first machine, I'd just suggest to add RESTRICT="mirror" to the ebuild. (In reply to Sven Eden from comment #7) > (In reply to Wiener from comment #6) > > Comment on attachment 362312 [details] > > app-office/taskcoach-1.3.33.ebuild > > > > even version 1.3.33 build works like a charm based on 1.3.32-r2 ebuild file > > I had the issue on one machine, where the "python-exec-move" was already > done. On another, prior to this move, everything went fine. > > However, your version 1.3.33 ebuild worked like a charm on the first > machine, I'd just suggest to add > RESTRICT="mirror" > to the ebuild. A short investigation in the circumstances by the python-exec move from dev-python to dev-lang category, i think i have solved the problem you have had! 1st: unmerge all installed python-exec packages by "emerge -qC */python-exec" 2sd: cat >>/etc/portage/package.accept_keywords/dev-lang "=dev-lang/python-exec-2.0" 3rd: emerge missing packages and dependencies by "emerge -aqDNuv @world" => for this i got 45 packages to re-emerge by USE flag "rR". the biggest was libreoffice => a lot of time consuming schedule!! taskcoach itself was included and build my version 1.3.33 as before without error 4th: conclusion to me the python-exec move is / was not the problem 5th: i you got i solved this way, i would suggest to check ebuild of version 1.3.33 to portage main tree Any idea when will version 1.3.33 be added to portage main tree? Bumped to 1.3.40 and removed the renaming of executable. Sorry for waiting. Created attachment 378044 [details, diff]
Add a symlink to not use *.py file
Hi. I have taskcoach in my overlay (seden) for a while now.
To resolve the executable naming issue, I removed the "mv" call and added a dosym. (See patch)
I can simply call "taskcoach" and it is correctyl started. I find this more intuitive than to remember to write "taskcoach.py".
Other changes:
- I have added RESTRICT="mirror" as the package is not mirrored at all. (At least it wasn't, no idea whether that changed in the meantime.)
- versionator does not need to be inherited
- Lowest version of dev-python/twisted-core is 12.3.0, thus a >=10.0 doesn't seem to be neccessary.
- Python-2.6 is considered deprecated, so I have only 2.7 in PYTHON_COMPAT.
The ebuild is this like for several versions now. With every update I simply rename, test, commit and push.
|