Import Debian changes 22.1.0-ok1

python-attrs (22.1.0-ok1) yangtze; urgency=medium

  * Build for openkylin.
This commit is contained in:
sufang 2022-11-07 11:03:10 +08:00 committed by su-fang
parent abfd8151f1
commit 18db144d8a
14 changed files with 270 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
python-attrs (22.1.0-ok1) yangtze; urgency=medium
* Build for openkylin.
-- sufang <sufang@kylinos.cn> Mon, 07 Nov 2022 11:03:10 +0800

2
debian/clean vendored Normal file
View File

@ -0,0 +1,2 @@
.pytest_cache/
src/attrs.egg-info/

59
debian/control vendored Normal file
View File

@ -0,0 +1,59 @@
Source: python-attrs
Section: python
Priority: optional
Maintainer: OpenKylin Developers <packaging@lists.openkylin.top>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
dh-sequence-python3,
dh-sequence-sphinxdoc,
pybuild-plugin-pyproject,
python3-all,
python3-doc,
python3-hypothesis,
python3-pytest,
python3-setuptools,
python3-sphinx,
python3-sphinx-rtd-theme,
python3-zope.interface,
Standards-Version: 4.6.1
Homepage: https://attrs.readthedocs.org/
Vcs-Git: https://gitee.com/openkylin/python-attrs.git
Vcs-Browser: https://gitee.com/openkylin/python-attrs
Package: python3-attr
Architecture: all
Depends: ${misc:Depends}, ${python3:Depends}
Recommends: ${python3:Recommends}
Suggests: python-attr-doc, ${python3:Suggests}
Description: Attributes without boilerplate (Python 3)
attrs is an MIT-licensed Python package with class decorators that ease the
chores of implementing the most common attribute-related object protocols.
.
You just specify the attributes to work with and attrs gives you:
- a nice human-readable __repr__,
- a complete set of comparison methods,
- an initializer,
- and much more
without writing dull boilerplate code again and again.
.
This package contains attrs packaged for Python 3.
Package: python-attr-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}, ${sphinxdoc:Depends}
Recommends: python3-doc
Description: documentation for the attrs Python library
attrs is an MIT-licensed Python package with class decorators that ease the
chores of implementing the most common attribute-related object protocols.
.
You just specify the attributes to work with and attrs gives you:
- a nice human-readable __repr__,
- a complete set of comparison methods,
- an initializer,
- and much more
without writing dull boilerplate code again and again.
.
This package provides documentation for attrs.

144
debian/copyright vendored Normal file
View File

@ -0,0 +1,144 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: python-attrs
Source: <url://example.com>
#
# Please double check copyright with the licensecheck(1) command.
Files: .github/CODE_OF_CONDUCT.md
.github/CONTRIBUTING.md
.github/FUNDING.yml
.github/PULL_REQUEST_TEMPLATE.md
.github/SECURITY.md
.github/workflows/main.yml
.pre-commit-config.yaml
.readthedocs.yml
AUTHORS.rst
CHANGELOG.rst
MANIFEST.in
PKG-INFO
README.rst
changelog.d/towncrier_template.rst
conftest.py
docs/Makefile
docs/_static/attrs_logo.png
docs/_static/attrs_logo_white.png
docs/api.rst
docs/changelog.rst
docs/comparison.rst
docs/conf.py
docs/docutils.conf
docs/examples.rst
docs/extending.rst
docs/glossary.rst
docs/hashing.rst
docs/how-does-it-work.rst
docs/index.rst
docs/init.rst
docs/license.rst
docs/names.rst
docs/overview.rst
docs/types.rst
docs/why.rst
pyproject.toml
setup.cfg
setup.py
src/attr/__init__.py
src/attr/__init__.pyi
src/attr/_cmp.py
src/attr/_cmp.pyi
src/attr/_compat.py
src/attr/_config.py
src/attr/_funcs.py
src/attr/_make.py
src/attr/_next_gen.py
src/attr/_version_info.py
src/attr/_version_info.pyi
src/attr/converters.py
src/attr/converters.pyi
src/attr/exceptions.py
src/attr/exceptions.pyi
src/attr/filters.py
src/attr/filters.pyi
src/attr/py.typed
src/attr/setters.py
src/attr/setters.pyi
src/attr/validators.py
src/attr/validators.pyi
src/attrs.egg-info/PKG-INFO
src/attrs.egg-info/SOURCES.txt
src/attrs.egg-info/dependency_links.txt
src/attrs.egg-info/not-zip-safe
src/attrs.egg-info/requires.txt
src/attrs.egg-info/top_level.txt
src/attrs/__init__.py
src/attrs/__init__.pyi
src/attrs/converters.py
src/attrs/exceptions.py
src/attrs/filters.py
src/attrs/py.typed
src/attrs/setters.py
src/attrs/validators.py
tests/__init__.py
tests/attr_import_star.py
tests/dataclass_transform_example.py
tests/strategies.py
tests/test_3rd_party.py
tests/test_annotations.py
tests/test_cmp.py
tests/test_compat.py
tests/test_config.py
tests/test_converters.py
tests/test_dunders.py
tests/test_filters.py
tests/test_funcs.py
tests/test_functional.py
tests/test_hooks.py
tests/test_import.py
tests/test_init_subclass.py
tests/test_make.py
tests/test_mypy.yml
tests/test_next_gen.py
tests/test_pattern_matching.py
tests/test_pyright.py
tests/test_setattr.py
tests/test_slots.py
tests/test_validators.py
tests/test_version_info.py
tests/typing_example.py
tests/utils.py
tox.ini
Copyright: __NO_COPYRIGHT_NOR_LICENSE__
License: __NO_COPYRIGHT_NOR_LICENSE__
#----------------------------------------------------------------------------
# xml and html files (skipped):
# docs/_static/attrs_logo.svg
# docs/_static/attrs_logo_white.svg
#----------------------------------------------------------------------------
# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following
# license/copyright files.
#----------------------------------------------------------------------------
# License file: LICENSE
The MIT License (MIT)
.
Copyright (c) 2015 Hynek Schlawack and the attrs contributors
.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1
debian/patches/series vendored Normal file
View File

@ -0,0 +1 @@
# You must remove unused comment lines for the released package.

7
debian/python-attr-doc.doc-base vendored Normal file
View File

@ -0,0 +1,7 @@
Document: python-attr
Title: python-attr documentation
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-attr-doc/html/index.html
Files: /usr/share/doc/python-attr-doc/html/*.html

2
debian/python-attr-doc.docs vendored Normal file
View File

@ -0,0 +1,2 @@
.pybuild/docs/*
README.rst

1
debian/python-attr-doc.links vendored Normal file
View File

@ -0,0 +1 @@
usr/share/doc/python-attr-doc/html usr/share/doc/python3-attr/html

18
debian/rules vendored Executable file
View File

@ -0,0 +1,18 @@
#! /usr/bin/make -f
export PYBUILD_NAME=attr
export PYBUILD_BEFORE_TEST=cp conftest.py {build_dir}
export PYBUILD_AFTER_TEST=rm -r {build_dir}/.hypothesis {build_dir}/conftest.py
export SETUPTOOLS_USE_DISTUTILS=stdlib
%:
dh $@ --buildsystem=pybuild
execute_after_dh_auto_build:
PYTHONPATH=$(shell pybuild --print build_dir --interpreter python3) \
http_proxy='127.0.0.1:9' \
https_proxy='127.0.0.1:9' \
python3 -m sphinx -N -b html docs/ $(CURDIR)/.pybuild/docs/html/
override_dh_compress:
dh_compress -Xchangelog.html

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

8
debian/tests/control vendored Normal file
View File

@ -0,0 +1,8 @@
Tests: python-attrs
Depends:
python3-all,
python3-hypothesis,
python3-pytest,
python3-six,
python3-zope.interface,
@,

9
debian/tests/python-attrs vendored Normal file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e -u
cp -r conftest.py tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP/"
export PYTHONWARNINGS=d
(py3versions -s) \
| tr ' ' '\n' \
| xargs -I {} env {} \
-m pytest tests 2>&1

9
debian/upstream/metadata vendored Normal file
View File

@ -0,0 +1,9 @@
Bug-Database: https://github.com/python-attrs/attrs/issues
Repository: https://github.com/python-attrs/attrs.git
Repository-Browse: https://github.com/python-attrs/attrs
Bug-Submit: https://github.com/python-attrs/attrs/issues/new
Registry:
- Name: conda-forge
Entry: attrs
- Name: guix
Entry: python-attrs

4
debian/watch vendored Normal file
View File

@ -0,0 +1,4 @@
version=4
opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%attrs-$1.tar.gz%" \
https://github.com/python-attrs/attrs/tags \
(?:.*?/)?v?(\d[\d.]*)\.tar\.gz