mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
python3-attrs: update to 23.1.0.
This commit is contained in:
parent
4e5677cc16
commit
cc1dadb00f
2 changed files with 68 additions and 4 deletions
|
@ -0,0 +1,64 @@
|
|||
--- a/pyproject.toml 2023-04-16 13:22:15.000000000 +0300
|
||||
+++ b/pyproject.toml 2023-04-29 16:49:08.704873775 +0300
|
||||
@@ -1,7 +1,7 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
[build-system]
|
||||
-requires = ["hatchling", "hatch-vcs", "hatch-fancy-pypi-readme"]
|
||||
+requires = ["hatchling", "hatch-vcs"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
|
||||
@@ -75,52 +75,6 @@
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/attr", "src/attrs"]
|
||||
|
||||
-[tool.hatch.metadata.hooks.fancy-pypi-readme]
|
||||
-content-type = "text/markdown"
|
||||
-
|
||||
-# PyPI doesn't support the <picture> tag.
|
||||
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
-text = """<p align="center">
|
||||
- <a href="https://www.attrs.org/">
|
||||
- <img src="https://raw.githubusercontent.com/python-attrs/attrs/main/docs/_static/attrs_logo.svg" width="35%" alt="attrs" />
|
||||
- </a>
|
||||
-</p>
|
||||
-"""
|
||||
-
|
||||
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
-path = "README.md"
|
||||
-start-after = "<!-- teaser-begin -->"
|
||||
-
|
||||
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
-text = """
|
||||
-
|
||||
-## Release Information
|
||||
-
|
||||
-"""
|
||||
-
|
||||
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
-path = "CHANGELOG.md"
|
||||
-pattern = "\n(###.+?\n)## "
|
||||
-
|
||||
-[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
|
||||
-text = """
|
||||
-
|
||||
----
|
||||
-
|
||||
-[Full changelog](https://www.attrs.org/en/stable/changelog.html)
|
||||
-"""
|
||||
-
|
||||
-
|
||||
-# Make coverage play nicely with pytest-xdist.
|
||||
-[tool.hatch.build.targets.wheel.hooks.autorun]
|
||||
-dependencies = ["hatch-autorun"]
|
||||
-code = """
|
||||
-import coverage
|
||||
-coverage.process_startup()
|
||||
-"""
|
||||
-enable-by-default = false
|
||||
-
|
||||
-
|
||||
[tool.pytest.ini_options]
|
||||
addopts = ["-ra", "--strict-markers", "--strict-config"]
|
||||
xfail_strict = true
|
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'python3-attrs'
|
||||
pkgname=python3-attrs
|
||||
version=22.2.0
|
||||
version=23.1.0
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools hatch-vcs"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest python3-zope.interface python3-six
|
||||
python3-hypothesis"
|
||||
|
@ -13,7 +13,7 @@ license="MIT"
|
|||
homepage="https://attrs.readthedocs.io/"
|
||||
changelog="https://raw.githubusercontent.com/python-attrs/attrs/main/CHANGELOG.md"
|
||||
distfiles="${PYPI_SITE}/a/attrs/attrs-${version}.tar.gz"
|
||||
checksum=c9227bfc2f01993c03f68db37d1d15c9690188323c067c641f1a35ca58185f99
|
||||
checksum=6279836d581513a26f1bf235f9acd333bc9115683f14f7e8fae46c98fc50e015
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Add table
Reference in a new issue