Skip to content

Commit e24415b

Browse files
committed
alvistack/1.1
git clean -xdf tar zcvf ../python-html5lib_1.1.orig.tar.gz --exclude=.git . debuild -uc -us cp python-html5lib.spec ../python-html5lib_1.1-1.spec cp ../python*-html5lib*1.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/html5lib-html5lib-python-1.1/ rm -rf ../python*-html5lib*1.1*.* See html5lib#583 See html5lib#587 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
1 parent f87487a commit e24415b

15 files changed

+209
-6
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ MANIFEST
4949
# Usually these files are written by a python script from a template
5050
# before PyInstaller builds the exe, so as to inject date/other infos into it.
5151
*.manifest
52-
*.spec
5352

5453
# Installer logs
5554
pip-log.txt
@@ -83,3 +82,5 @@ stats.prof
8382

8483
# IDE
8584
.idea
85+
86+
.pybuild

debian/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.substvars
2+
*debhelper*
3+
.debhelper
4+
files
5+
python3-html5lib
6+
tmp

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-html5lib (100:1.1-1) UNRELEASED; urgency=medium
2+
3+
* https://github.com/html5lib/html5lib-python/releases/tag/1.1
4+
5+
-- Wong Hoi Sing Edison <[email protected]> Tue, 06 Feb 2024 22:13:35 +0800

debian/control

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Source: python-html5lib
2+
Section: python
3+
Priority: optional
4+
Standards-Version: 4.5.0
5+
Maintainer: Wong Hoi Sing Edison <[email protected]>
6+
Homepage: https://github.com/html5lib/html5lib-python/tags
7+
Vcs-Browser: https://github.com/alvistack/html5lib-html5lib-python
8+
Vcs-Git: https://github.com/alvistack/html5lib-html5lib-python.git
9+
Build-Depends:
10+
debhelper,
11+
debhelper-compat (= 10),
12+
dh-python,
13+
fdupes,
14+
python3-dev,
15+
python3-setuptools,
16+
17+
Package: python3-html5lib
18+
Architecture: all
19+
Description: HTML parser/tokenizer based on the WHATWG HTML5 specification
20+
html5lib is a pure-python library for parsing HTML. It is designed to
21+
conform to the WHATWG HTML specification, as is implemented by all major
22+
web browsers.
23+
Depends:
24+
${misc:Depends},
25+
${shlibs:Depends},
26+
${python3:Depends},
27+
python3,
28+
python3-six (>= 1.9),
29+
python3-webencodings,

debian/copyright

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2+
3+
Files: debian/*
4+
Copyright: 2025 Wong Hoi Sing Edison <[email protected]>
5+
License: Apache-2.0
6+
7+
License: Apache-2.0
8+
Licensed under the Apache License, Version 2.0 (the "License");
9+
you may not use this file except in compliance with the License.
10+
You may obtain a copy of the License at
11+
.
12+
http://www.apache.org/licenses/LICENSE-2.0
13+
.
14+
Unless required by applicable law or agreed to in writing, software
15+
distributed under the License is distributed on an "AS IS" BASIS,
16+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
See the License for the specific language governing permissions and
18+
limitations under the License.
19+
.
20+
The complete text of the Apache version 2.0 license
21+
can be found in "/usr/share/common-licenses/Apache-2.0".

debian/python3-html5lib.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/python*/*-packages/*
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
python3-html5lib: copyright-without-copyright-notice
2+
python3-html5lib: initial-upload-closes-no-bugs
3+
python3-html5lib: no-manual-page
4+
python3-html5lib: zero-byte-file-in-doc-directory

debian/rules

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/make -f
2+
3+
SHELL := /bin/bash
4+
5+
override_dh_auto_install:
6+
dh_auto_install --destdir=debian/tmp
7+
find debian/tmp/usr/lib/python*/*-packages -type f -name '*.pyc' -exec rm -rf {} \;
8+
fdupes -qnrps debian/tmp/usr/lib/python*/*-packages
9+
10+
override_dh_auto_test:
11+
12+
override_dh_auto_clean:
13+
14+
%:
15+
dh $@ --buildsystem=pybuild --with python3

debian/source/format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0 (quilt)

debian/source/lintian-overrides

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
python-html5lib source: file-without-copyright-information
2+
python-html5lib source: no-debian-changes
3+
python-html5lib source: source-contains-prebuilt-windows-binary
4+
python-html5lib source: source-is-missing
5+
python-html5lib source: source-package-encodes-python-version

0 commit comments

Comments
 (0)