Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] python3-attrs: update to 23.1.0.
@ 2023-04-29 14:06 mhmdanas
  2023-04-30  1:41 ` [PR PATCH] [Merged]: " abenson
  0 siblings, 1 reply; 2+ messages in thread
From: mhmdanas @ 2023-04-29 14:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1240 bytes --]

There is a new pull request by mhmdanas against master on the void-packages repository

https://github.com/mhmdanas/void-packages python3-attrs-23.1.0
https://github.com/void-linux/void-packages/pull/43670

python3-attrs: update to 23.1.0.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/43670.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-attrs-23.1.0-43670.patch --]
[-- Type: text/x-diff, Size: 3457 bytes --]

From 7acc08eccf71afcaa0180468cec2370287e324a8 Mon Sep 17 00:00:00 2001
From: triallax <triallax@tutanota.com>
Date: Sat, 29 Apr 2023 17:04:22 +0300
Subject: [PATCH] python3-attrs: update to 23.1.0.

---
 .../remove-hatch-fancy-pypi-readme-dep.diff   | 64 +++++++++++++++++++
 srcpkgs/python3-attrs/template                |  8 +--
 2 files changed, 68 insertions(+), 4 deletions(-)
 create mode 100644 srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff

diff --git a/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff b/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff
new file mode 100644
index 000000000000..6133fece1187
--- /dev/null
+++ b/srcpkgs/python3-attrs/patches/remove-hatch-fancy-pypi-readme-dep.diff
@@ -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
diff --git a/srcpkgs/python3-attrs/template b/srcpkgs/python3-attrs/template
index 242c92649d92..492d33f8fe23 100644
--- a/srcpkgs/python3-attrs/template
+++ b/srcpkgs/python3-attrs/template
@@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: python3-attrs: update to 23.1.0.
  2023-04-29 14:06 [PR PATCH] python3-attrs: update to 23.1.0 mhmdanas
@ 2023-04-30  1:41 ` abenson
  0 siblings, 0 replies; 2+ messages in thread
From: abenson @ 2023-04-30  1:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1109 bytes --]

There's a merged pull request on the void-packages repository

python3-attrs: update to 23.1.0.
https://github.com/void-linux/void-packages/pull/43670

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

@paper42

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-04-30  1:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-29 14:06 [PR PATCH] python3-attrs: update to 23.1.0 mhmdanas
2023-04-30  1:41 ` [PR PATCH] [Merged]: " abenson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).