File: 0008-Add-generated-file-hack.patch

package info (click to toggle)
html5-parser 0.4.10-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,896 kB
  • sloc: ansic: 32,402; python: 1,718; makefile: 6
file content (48 lines) | stat: -rw-r--r-- 1,586 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
From: YOKOTA Hiroshi <yokota.hgml@gmail.com>
Date: Thu, 5 May 2022 00:47:01 +0900
Subject: Add generated file hack

PKG-INFO file is rebuild each build time.
This hack restore original file at the end of package build process.
---
 src/html5_parser.egg-info/PKG-INFO    | 3 +--
 src/html5_parser.egg-info/SOURCES.txt | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/html5_parser.egg-info/PKG-INFO b/src/html5_parser.egg-info/PKG-INFO
index 1728def..ea190cc 100644
--- a/src/html5_parser.egg-info/PKG-INFO
+++ b/src/html5_parser.egg-info/PKG-INFO
@@ -6,8 +6,6 @@ Home-page: https://html5-parser.readthedocs.io
 Author: Kovid Goyal
 Author-email: redacted@acme.com
 License: Apache 2.0
-Download-URL: https://pypi.python.org/packages/source/m/html5-parser/html5-parser-0.4.10.tar.gz
-Description: UNKNOWN
 Platform: any
 Classifier: Development Status :: 5 - Production/Stable
 Classifier: Intended Audience :: Developers
@@ -20,3 +18,4 @@ Classifier: Topic :: Text Processing :: Markup
 Classifier: Topic :: Text Processing :: Markup :: HTML
 Classifier: Topic :: Text Processing :: Markup :: XML
 Provides-Extra: soup
+License-File: LICENSE
diff --git a/src/html5_parser.egg-info/SOURCES.txt b/src/html5_parser.egg-info/SOURCES.txt
index d26fcbe..7ffb5b7 100644
--- a/src/html5_parser.egg-info/SOURCES.txt
+++ b/src/html5_parser.egg-info/SOURCES.txt
@@ -1,13 +1,13 @@
 LICENSE
 MANIFEST.in
 README.rst
-build.py
 genattrs.py
 genencodings.py
 gentags.py
 run_tests.py
 setup.cfg
 setup.py
+unix_build.py
 gumbo/attribute.c
 gumbo/attribute.h
 gumbo/char_ref.c