Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/openerp/files/
Date: Wed, 03 Jan 2018 11:06:53
Message-Id: 1514977601.c918598e2c4c51ed1f1e7eae5f6e0a4543af556b.monsieurp@gentoo
1 commit: c918598e2c4c51ed1f1e7eae5f6e0a4543af556b
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Wed Dec 27 08:35:30 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 3 11:06:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c918598e
7
8 app-office/openerp: remove unused patch.
9
10 Closes: https://github.com/gentoo/gentoo/pull/6653
11
12 .../openerp/files/openerp-6.1-setup.py.patch | 32 ----------------------
13 1 file changed, 32 deletions(-)
14
15 diff --git a/app-office/openerp/files/openerp-6.1-setup.py.patch b/app-office/openerp/files/openerp-6.1-setup.py.patch
16 deleted file mode 100644
17 index 90482487561..00000000000
18 --- a/app-office/openerp/files/openerp-6.1-setup.py.patch
19 +++ /dev/null
20 @@ -1,32 +0,0 @@
21 ---- setup.py.old 2012-07-01 17:31:24.000000000 +0400
22 -+++ setup.py 2012-07-01 17:33:52.000000000 +0400
23 -@@ -22,6 +22,7 @@
24 -
25 - import glob, os, re, setuptools, sys
26 - from os.path import join, isfile
27 -+from distutils.sysconfig import get_python_lib
28 -
29 - # List all data files
30 - def data():
31 -@@ -32,7 +33,7 @@ def data():
32 - files.append(os.path.join(root, filename))
33 - d = {}
34 - for v in files:
35 -- k=os.path.dirname(v)
36 -+ k=os.path.join(get_python_lib(prefix=''), os.path.dirname(v))
37 - if k in d:
38 - d[k].append(v)
39 - else:
40 -@@ -41,9 +42,9 @@ def data():
41 - if os.name == 'nt':
42 - r.append(("Microsoft.VC90.CRT", glob.glob('C:\Microsoft.VC90.CRT\*.*')))
43 -
44 -- import babel
45 -- r.append(("localedata",
46 -- glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata" , '*'))))
47 -+# import babel
48 -+# r.append(("localedata",
49 -+# glob.glob(os.path.join(os.path.dirname(babel.__file__), "localedata" , '*'))))
50 -
51 - return r
52 -