1 |
commit: d5bc6cde142a561f07e78d95287389f000a3940c |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Tue Feb 28 23:39:42 2023 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Tue Feb 28 23:39:42 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5bc6cde |
7 |
|
8 |
dev-util/afdko: clean up patches |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-util/afdko/files/afdko-3.6.2-AR-fix.patch | 22 ------------------ |
13 |
.../afdko-3.6.2-_get_scripts-to-data_files.patch | 11 --------- |
14 |
.../files/afdko-3.6.2-relax-hard-pinning.patch | 26 ---------------------- |
15 |
dev-util/afdko/files/afdko-3.8.1-antlr.patch | 10 ++++----- |
16 |
dev-util/afdko/files/afdko-nowheel.diff | 26 ---------------------- |
17 |
5 files changed, 4 insertions(+), 91 deletions(-) |
18 |
|
19 |
diff --git a/dev-util/afdko/files/afdko-3.6.2-AR-fix.patch b/dev-util/afdko/files/afdko-3.6.2-AR-fix.patch |
20 |
deleted file mode 100644 |
21 |
index a42f9ca96..000000000 |
22 |
--- a/dev-util/afdko/files/afdko-3.6.2-AR-fix.patch |
23 |
+++ /dev/null |
24 |
@@ -1,22 +0,0 @@ |
25 |
---- a/c/public/lib/config/linux/gcc/gcc.mak |
26 |
-+++ b/c/public/lib/config/linux/gcc/gcc.mak |
27 |
-@@ -27,7 +27,7 @@ |
28 |
- |
29 |
- $(LIB_TARGET): $(LIB_OBJS) |
30 |
- mkdir -p $(LIB_DIR) |
31 |
-- $(AR) -rvs $@ $? |
32 |
-+ $(AR) rvs $@ $? |
33 |
- |
34 |
- clean: |
35 |
- if [ "$(LIB_OBJS)" ]; then \ |
36 |
---- a/c/public/lib/config/linux/gcc/gcc_tx.mak |
37 |
-+++ b/c/public/lib/config/linux/gcc/gcc_tx.mak |
38 |
-@@ -30,7 +30,7 @@ |
39 |
- |
40 |
- $(LIB_TARGET): $(LIB_OBJS) |
41 |
- mkdir -p $(LIB_DIR) |
42 |
-- $(AR) -rvs $@ $? |
43 |
-+ $(AR) rvs $@ $? |
44 |
- |
45 |
- clean: |
46 |
- if [ "$(LIB_OBJS)" ]; then \ |
47 |
|
48 |
diff --git a/dev-util/afdko/files/afdko-3.6.2-_get_scripts-to-data_files.patch b/dev-util/afdko/files/afdko-3.6.2-_get_scripts-to-data_files.patch |
49 |
deleted file mode 100644 |
50 |
index cff40e488..000000000 |
51 |
--- a/dev-util/afdko/files/afdko-3.6.2-_get_scripts-to-data_files.patch |
52 |
+++ /dev/null |
53 |
@@ -1,11 +0,0 @@ |
54 |
---- a/setup.py |
55 |
-+++ b/setup.py |
56 |
-@@ -234,7 +234,7 @@ |
57 |
- 'pytest', |
58 |
- ], |
59 |
- install_requires=_get_requirements(), |
60 |
-- scripts=_get_scripts(), |
61 |
-+ data_files=[("bin",_get_scripts())], |
62 |
- entry_points={ |
63 |
- 'console_scripts': _get_console_scripts(), |
64 |
- }, |
65 |
|
66 |
diff --git a/dev-util/afdko/files/afdko-3.6.2-relax-hard-pinning.patch b/dev-util/afdko/files/afdko-3.6.2-relax-hard-pinning.patch |
67 |
deleted file mode 100644 |
68 |
index 4939f1a40..000000000 |
69 |
--- a/dev-util/afdko/files/afdko-3.6.2-relax-hard-pinning.patch |
70 |
+++ /dev/null |
71 |
@@ -1,26 +0,0 @@ |
72 |
---- a/requirements.txt |
73 |
-+++ b/requirements.txt |
74 |
-@@ -1,13 +1,13 @@ |
75 |
- # 'lxml' is not a primary requirement of afdko but it's listed here because |
76 |
- # we want to have control over the version and guarantee that the XML output |
77 |
- # of our tools is stable |
78 |
--# NOTE: hard-pinning (==) here gets relaxed to >= in setup.py |
79 |
--lxml==4.6.2 |
80 |
--booleanOperations==0.9.0 |
81 |
--defcon[pens,lxml]==0.7.2 |
82 |
--fontMath==0.6.0 |
83 |
--fontTools[woff,ufo,lxml,unicode]==4.21.1 |
84 |
--psautohint==2.3.0 |
85 |
--tqdm==4.58.0 |
86 |
--ufonormalizer==0.5.3 |
87 |
--ufoProcessor==1.9.0 |
88 |
-+# NOTE: hard-pinning (>=) here gets relaxed to >= in setup.py |
89 |
-+lxml>=4.6.2 |
90 |
-+booleanOperations>=0.9.0 |
91 |
-+defcon[pens,lxml]>=0.7.2 |
92 |
-+fontMath>=0.6.0 |
93 |
-+fontTools[woff,ufo,lxml,unicode]>=4.21.1 |
94 |
-+psautohint>=2.3.0 |
95 |
-+tqdm>=4.58.0 |
96 |
-+ufonormalizer>=0.5.3 |
97 |
-+ufoProcessor>=1.9.0 |
98 |
|
99 |
diff --git a/dev-util/afdko/files/afdko-3.8.1-antlr.patch b/dev-util/afdko/files/afdko-3.8.1-antlr.patch |
100 |
index 3db0bc93e..be7b25d9e 100644 |
101 |
--- a/dev-util/afdko/files/afdko-3.8.1-antlr.patch |
102 |
+++ b/dev-util/afdko/files/afdko-3.8.1-antlr.patch |
103 |
@@ -1,6 +1,5 @@ |
104 |
-diff '--color=auto' -ru afdko-3.8.1-orig/c/makeotf/lib/hotconv/CMakeLists.txt afdko-3.8.1/c/makeotf/lib/hotconv/CMakeLists.txt |
105 |
---- a/c/makeotf/lib/hotconv/CMakeLists.txt 2022-04-16 18:04:34.060438876 +0200 |
106 |
-+++ b/c/makeotf/lib/hotconv/CMakeLists.txt 2022-04-16 18:11:51.280732567 +0200 |
107 |
+--- a/c/makeotf/lib/hotconv/CMakeLists.txt |
108 |
++++ b/c/makeotf/lib/hotconv/CMakeLists.txt |
109 |
@@ -68,8 +68,8 @@ |
110 |
) |
111 |
|
112 |
@@ -12,9 +11,8 @@ diff '--color=auto' -ru afdko-3.8.1-orig/c/makeotf/lib/hotconv/CMakeLists.txt af |
113 |
|
114 |
if ( CMAKE_COMPILER_IS_GNUCC ) |
115 |
target_compile_options(hotconv PRIVATE -Wall -Wno-attributes) |
116 |
-diff '--color=auto' -ru afdko-3.8.1-orig/CMakeLists.txt afdko-3.8.1/CMakeLists.txt |
117 |
---- a/CMakeLists.txt 2022-04-16 18:04:34.055438815 +0200 |
118 |
-+++ b/CMakeLists.txt 2022-04-16 18:05:14.656930402 +0200 |
119 |
+--- a/CMakeLists.txt |
120 |
++++ b/CMakeLists.txt |
121 |
@@ -27,23 +27,6 @@ |
122 |
|
123 |
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) |
124 |
|
125 |
diff --git a/dev-util/afdko/files/afdko-nowheel.diff b/dev-util/afdko/files/afdko-nowheel.diff |
126 |
deleted file mode 100644 |
127 |
index 14baff83c..000000000 |
128 |
--- a/dev-util/afdko/files/afdko-nowheel.diff |
129 |
+++ /dev/null |
130 |
@@ -1,26 +0,0 @@ |
131 |
---- a/setup.py |
132 |
-+++ b/setup.py |
133 |
-@@ -29,7 +29,6 @@ try: |
134 |
- except ImportError: |
135 |
- print("afdko: setup.py requires that the Python package 'wheel' be " |
136 |
- "installed. Try the command 'pip install wheel'.") |
137 |
-- sys.exit(1) |
138 |
- |
139 |
- |
140 |
- class InstallPlatlib(setuptools.command.install.install): |
141 |
-@@ -246,7 +245,6 @@ def main(): |
142 |
- zip_safe=False, |
143 |
- python_requires='>=2.7', |
144 |
- setup_requires=[ |
145 |
-- 'wheel', |
146 |
- 'setuptools_scm', |
147 |
- ], |
148 |
- tests_require=[ |
149 |
-@@ -260,7 +258,6 @@ def main(): |
150 |
- cmdclass={ |
151 |
- 'build_py': CustomBuild, |
152 |
- 'build_scripts': CustomBuildScripts, |
153 |
-- 'bdist_wheel': CustomBDistWheel, |
154 |
- 'install': InstallPlatlib, |
155 |
- }, |
156 |
- ) |