Github messages for voidlinux
 help / color / mirror / Atom feed
From: mhmdanas <mhmdanas@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-attrs: update to 23.1.0.
Date: Sat, 29 Apr 2023 16:06:18 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43670@inbox.vuxu.org> (raw)

[-- 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

             reply	other threads:[~2023-04-29 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-29 14:06 mhmdanas [this message]
2023-04-30  1:41 ` [PR PATCH] [Merged]: " abenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43670@inbox.vuxu.org \
    --to=mhmdanas@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).