Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
invalid: DEPEND - local ebuild
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3541
Location: Berlin

PostPosted: Sat Mar 14, 2020 5:57 am    Post subject: invalid: DEPEND - local ebuild Reply with quote

Hallo, ich finde den Fehler nicht.
Code:
flammenflitzer /usr/local/portage/local/app-misc/dupeguru # emerge dupeguru -pv
/usr/lib64/python3.6/site-packages/portage/package/ebuild/_config/KeywordsManager.py:70: UserWarning: /etc/portage/package.keywords is deprecated, use /etc/portage/package.accept_keywords instead
  UserWarning)

These are the packages that would be merged, in order:

Calculating dependencies... done!

!!! All ebuilds that could satisfy "dupeguru" have been masked.
!!! One of the following masked packages is required to complete your request:
- app-misc/dupeguru-4.0.4::local (masked by: invalid: DEPEND: Invalid atom (Invalid use dep: ''), token 6, invalid: RDEPEND: Invalid atom (Invalid use dep: ''), token 6)
Code:
flammenflitzer /usr/local/portage/local/app-misc/dupeguru # ls -la
insgesamt 10
drwxr-xr-x 3 root root 2048 14. Mär 06:46 .
drwxr-xr-x 6 root root 2048 14. Mär 06:45 ..
-rw-r--r-- 1 root root 1024  6. Mär 02:43 dupeguru-4.0.4.ebuild
drwxr-xr-x 2 root root 2048 14. Mär 06:46 files
-rw-r--r-- 1 root root  917  6. Mär 02:43 Manifest
Code:
flammenflitzer /usr/local/portage/local/app-misc/dupeguru # cat dupeguru-4.0.4.ebuild
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=7

PYTHON_COMPAT=( python3_{7,8} )
PYTHON_REQ_USE="sqlite"

inherit eutils python-any-r1

DESCRIPTION="Find duplicate files on your system"
HOMEPAGE="https://dupeguru.voltaicideas.net"
MY_P="${PN}-src-${PV}"
SRC_URI="https://github.com/arsenetar/${PN}/archive/${PV}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64 ~arm"
IUSE=""

RDEPEND="${PYTHON_DEPS}
        dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
        >=dev-qt/qtgui-5.5[jpeg,png,gif]
        >=dev-python/hsaudiotag3k-1.1.3[${PYTHON_USEDEP}]
        >=dev-python/send2trash-1.3.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
        dev-python/polib[${PYTHON_USEDEP}]
        dev-python/sphinx[${PYTHON_USEDEP}]"

PATCHES=(
    # Recent pip update in Gentoo requires us to use --user at all times, even in venvs :(
        "${FILESDIR}/fix-pip-call-in-makefile.patch"
)

src_compile() {
        emake PYTHON=${EPYTHON} all build/help
}

src_install() {
        emake DESTDIR="${D}" PREFIX="/usr" install
}
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4565

PostPosted: Sat Mar 14, 2020 7:40 am    Post subject: Reply with quote

Doku lesen:
https://dev.gentoo.org/~mgorny/python-guide/any.html
Nebendem ist python-any auch die falsche eclass:
Quote:
The python-any-r1 eclass is used to enable Python support in packages needing it purely at build time.

dupeguru hat ja ne runtime DEP auf PyQt5 und damit python.
Schau dir python-single-r1.eclass oder falls es das verwendet auch distutils-r1.eclass an.
https://dev.gentoo.org/~mgorny/python-guide/single.html
https://dev.gentoo.org/~mgorny/python-guide/distutils.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum