Summary: | dev-python/ws4py-0.5.1-r1 : * The source directory /var/tmp/portage/dev-python/ws4py-0.5.1-r1/work/ws4py-0.5.1 doesnt exist | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Thomas Deutschmann (RETIRED) <whissi> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-python:ws4py-0.5.1-r1:20200514-233458.log emerge-history.txt environment etc.portage.tbz2 logs.tbz2 |
Description
Toralf Förster
2020-05-15 07:29:17 UTC
Created attachment 639218 [details]
emerge-info.txt
Created attachment 639220 [details]
dev-python:ws4py-0.5.1-r1:20200514-233458.log
Created attachment 639222 [details]
emerge-history.txt
Created attachment 639224 [details]
environment
Created attachment 639226 [details]
etc.portage.tbz2
Created attachment 639228 [details]
logs.tbz2
Lazy fix that seemed to work for me: src_unpack() { unpack ${A} mv ${WORKDIR}/WebSocket-for-Python-${PV} ${WORKDIR}/${P} } diff -u /var/db/repos/gentoo/dev-python/ws4py/ws4py-0.5.1{,-r1}.ebuild --- /var/db/repos/gentoo/dev-python/ws4py/ws4py-0.5.1.ebuild 2020-01-26 20:39:46.000000000 +0300 +++ /var/db/repos/gentoo/dev-python/ws4py/ws4py-0.5.1-r1.ebuild 2020-05-16 14:39:11.000000000 +0300 @@ -6,18 +6,17 @@ # Same for www-servers/tornado and USE=client ... so why not??? # pypy is viable but better with a cutdown set of deps -EAPI=6 -PYTHON_COMPAT=( python3_6 ) -PYTHON_REQ_USE="threads?" +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="threads(+)?" inherit distutils-r1 if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://github.com/Lawouach/WebSocket-for-Python.git" inherit git-r3 else - inherit vcs-snapshot SRC_URI="https://github.com/Lawouach/WebSocket-for-Python/archive/${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 arm x86" + KEYWORDS="~amd64 arm ~x86" fi DESCRIPTION="WebSocket client and server library for Python 2 and 3 as well as PyPy" @@ -30,15 +29,18 @@ # doc build requires sphinxcontrib ext packages absent from portage RDEPEND=">=dev-python/greenlet-0.4.1[${PYTHON_USEDEP}] - >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] - client? ( >=www-servers/tornado-3.1[${PYTHON_USEDEP}] ) - server? ( >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}] )" + >=dev-python/cython-0.19.1[${PYTHON_USEDEP}] + client? ( >=www-servers/tornado-3.1[${PYTHON_USEDEP}] ) + server? ( >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}] )" + DEPEND="test? ( >=dev-python/cherrypy-3.2.4[${PYTHON_USEDEP}] dev-python/unittest2[${PYTHON_USEDEP}] >=dev-python/mock-1.0.1[${PYTHON_USEDEP}] )" +PATCHES=( "${FILESDIR}"/${PN}-0.5.1-python3.7+-compatibility.patch ) + python_test() { # testsuite displays an issue with mock under py3 but is non fatal "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}" I am thinks this caused by removing "inherit vcs-snapshot" https://devmanual.gentoo.org/eclass-reference/vcs-snapshot.eclass/index.html The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b018ba0ae6bd6596455dd69939f9b3fa5e93de35 commit b018ba0ae6bd6596455dd69939f9b3fa5e93de35 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-05-21 14:54:53 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-05-21 14:54:53 +0000 dev-python/ws4py: fix $S Closes: https://bugs.gentoo.org/723188 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> dev-python/ws4py/ws4py-0.5.1-r1.ebuild | 7 +++++-- dev-python/ws4py/ws4py-9999.ebuild | 9 ++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) |