Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: ratatouille Newsgroups: de.comp.lang.python Subject: Re: [Python-de] python-pyspf Installation Date: Mon, 28 Jan 2019 23:42:06 +0100 Lines: 73 Message-ID: References: <20190128234206.34bfbdbb@workstation> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: news.uni-berlin.de rioIEqY36f2vNZiajlVAcAkn0Hl6eWMoONts1b0HycMA== Return-Path: X-Original-To: python-de@python.org Delivered-To: python-de@mail.python.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=nimmini.de; h= content-transfer-encoding:content-type:content-type:mime-version :references:in-reply-to:message-id:subject:subject:from:from :date:date; s=20160826; t=1548715328; x=1550529729; bh=y1ooqsL4m K43mWtiIc1FdTc/rW6eH50ewslaMMlydPU=; b=q/42NCfCfkhXF4ALA1QIwNHGH 86+27NSsOPZcUhVe2kW3nkHBhuHJrc9Dwi+0m0wUX1WjSU/TOOgYKJcA9Lx8tOiT wgg5h+OMj0N64PQAONPEXib9SeUYkeM7H6CSUe9VafiNidcHMbWXR4UcP1V3BZx4 KzWiSe4cznK9ipBp4Q= X-Virus-scanned: by amavisd-new at bitcorner.de In-Reply-To: X-BeenThere: python-de@python.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Die Deutsche Python Mailingliste List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <20190128234206.34bfbdbb@workstation> Xref: csiph.com de.comp.lang.python:5429 Christopher Arndt schrieb am 28.01.19 um 22:34:13 Uhr: > Am 28.01.19 um 22:18 schrieb ratatouille: > > error: Failed dependencies: > > python-pyspf is needed by python-policyd-spf-1.0-45.1.noarch > >=20 > > Also das rpm findet das pyspf nicht, obwohl es installiert ist. =20 >=20 > Dependencies von RPM-Paketen funktionieren nur innerhalb der > Distributionspakete. Python-Pakete, die von PyPI installierst, kennt das > RPM-System nicht. Wenn es kein RPM-Paket 'python-pyspf' f=C3=BCr deine Di= stro > gibt, dann ist das RPM-Paket 'python-policyd-spf' auch nicht mit deiner > Distro kompatibel. >=20 > Wenn du die Software benutzen willst, musst du also herausfinden, auf > welchem Python-Paket (nicht zu verwechseln mit RPM-Paket) > 'python-policyd-spf' beruht (h=C3=B6chstwahrscheinlich 'pypolicyd-spf') u= nd > dieses, wie von mir beschrieben mit pip 'von Hand' installieren. >=20 > Es kann allerdings sein, dass das RPM-Paket noch zus=C3=A4tzliche Kompone= nten > enth=C3=A4lt, die im reinen Python-Pakete nicht enthalten sind, wie z.B. > Konfigurationsdateien, Systemd-Units, Log-Verzeichnisse usw. Danke recht herzlich f=C3=BCr Deine Ausf=C3=BChrungen! Es scheint gut gegan= gen zu sein. Ich habe dann auch noch python3 aus der Distribution installiert. python3 -m pip install pyspf Downloading/unpacking pyspf Downloading pyspf-2.0.11.tar.gz (63kB): 63kB downloaded Running setup.py (path:/tmp/pip_build_root/pyspf/setup.py) egg_info for p= ackage pyspf =20 Installing collected packages: pyspf Running setup.py install for pyspf changing mode of build/scripts-3.4/type99.py from 644 to 755 changing mode of build/scripts-3.4/spfquery.py from 644 to 755 =20 changing mode of /usr/bin/type99.py to 755 changing mode of /usr/bin/spfquery.py to 755 Successfully installed pyspf Cleaning up... python3 -m pip install pypolicyd-spf Downloading/unpacking pypolicyd-spf Downloading pypolicyd-spf-2.0.2.tar.gz Running setup.py (path:/tmp/pip_build_root/pypolicyd-spf/setup.py) egg_in= fo for package pypolicyd-spf =20 Installing collected packages: pypolicyd-spf Running setup.py install for pypolicyd-spf changing mode of build/scripts-3.4/policyd-spf from 644 to 755 =20 changing mode of /usr/bin/policyd-spf to 755 Successfully installed pypolicyd-spf Cleaning up... Jetzt will ich mal versuchen, das anzuwenden. =20 > Am besten fragst du mal auf der Projekthomepage nach, wie die Software > auf deiner Distribution am besten installiert wird: >=20 > https://launchpad.net/pypolicyd-spf >=20 >=20 > Chris Gr=C3=BC=C3=9Fe Andreas