Re: Fwd: [packages/thefuck] python3.spec hack

2016-03-01 Thread Elan Ruusamäe

On 01.03.2016 14:30, Jacek Konieczny wrote:


It would probably be better to patch thefuck not to require this. The 
requirement is probably defined in setup.py and could be removed with 
one line change.

it's in thefuck setup.py because for python2 there exists as backport

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Fwd: [packages/thefuck] python3.spec hack

2016-03-01 Thread Elan Ruusamäe

On 01.03.2016 13:12, Jacek Konieczny wrote:


You could add egg-info file/directory for pathlib to python3.spec. 

so. empty file/dir will do?

--
glen

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: Fwd: [packages/thefuck] python3.spec hack

2016-03-01 Thread Jacek Konieczny

On 2016-03-01 11:11, Elan Ruusamäe wrote:

i wonder where the proper fix would be?

➔ rpm -ql python3-modules|grep -F pathlib
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.opt-1.pyc
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.opt-2.pyc
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.pyc
/usr/lib64/python3.5/pathlib.py


You could add egg-info file/directory for pathlib to python3.spec.

Jacek

___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Fwd: [packages/thefuck] python3.spec hack

2016-03-01 Thread Elan Ruusamäe

i wonder where the proper fix would be?

➔ rpm -ql python3-modules|grep -F pathlib
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.opt-1.pyc
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.opt-2.pyc
/usr/lib64/python3.5/__pycache__/pathlib.cpython-35.pyc
/usr/lib64/python3.5/pathlib.py


 Forwarded Message 
Subject:[packages/thefuck] python3.spec hack
Date:   Tue, 01 Mar 2016 09:40:32 +0100
From:   glen 
Reply-To: 	pld-devel-en@lists.pld-linux.org, 
pld-devel...@lists.pld-linux.org

To: pld-cvs-com...@lists.pld-linux.org



commit 08f1b42f9f6cc08b772586574bbce9bd01929d1c
Author: Elan Ruusamäe 
Date:   Tue Mar 1 10:40:25 2016 +0200

python3.spec hack

 thefuck.spec | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/thefuck.spec b/thefuck.spec
index 6a76454..1a83e05 100644
--- a/thefuck.spec
+++ b/thefuck.spec
@@ -32,6 +32,9 @@ Requires: python3-six
 BuildArch: noarch
 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# provided by python3.spec

+%define_noautoreq_py3egg pathlib
+
 %description
 This application corrects your previous console command.
 



 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/thefuck.git/commitdiff/08f1b42f9f6cc08b772586574bbce9bd01929d1c

___
pld-cvs-commit mailing list
pld-cvs-com...@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit



___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en