Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
python-entrypoints
Commits:
bfa17a58 by loqs at 2026-06-27T19:47:46+00:00
Update pyproject.toml for flit-core 4.0
- - - - -
5 changed files:
- .SRCINFO
- + LICENSES/MIT.txt
- PKGBUILD
- REUSE.toml
- + python-entrypoints-0.4-flit-core-4.0.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -11,6 +11,8 @@ pkgbase = python-entrypoints
makedepends = python-flit-core
depends = python
source =
https://github.com/takluyver/entrypoints/archive/0.4/python-entrypoints-0.4.tar.gz
+ source = python-entrypoints-0.4-flit-core-4.0.patch
sha256sums =
d2197a94aa73e70a7f60600e654ac9918ca2a0ee5480eb875296c42220a02272
+ sha256sums =
4d422282f490698797509a717bf964fab0d1a25214221d5cd99bf8aa94b7dd27
pkgname = python-entrypoints
=====================================
LICENSES/MIT.txt
=====================================
@@ -0,0 +1,18 @@
+MIT License
+
+Copyright (c) <year> <copyright holders>
+
+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.
=====================================
PKGBUILD
=====================================
@@ -11,8 +11,15 @@ license=('MIT')
depends=('python')
makedepends=('python-build' 'python-installer' 'python-flit-core')
checkdepends=('python-pytest')
-source=(https://github.com/takluyver/entrypoints/archive/$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('d2197a94aa73e70a7f60600e654ac9918ca2a0ee5480eb875296c42220a02272')
+source=(https://github.com/takluyver/entrypoints/archive/$pkgver/$pkgname-$pkgver.tar.gz
+ python-entrypoints-0.4-flit-core-4.0.patch)
+sha256sums=('d2197a94aa73e70a7f60600e654ac9918ca2a0ee5480eb875296c42220a02272'
+ '4d422282f490698797509a717bf964fab0d1a25214221d5cd99bf8aa94b7dd27')
+
+prepare() {
+ cd $_name-$pkgver
+ patch -Np1 -i ../python-entrypoints-0.4-flit-core-4.0.patch
+}
build() {
cd $_name-$pkgver
=====================================
REUSE.toml
=====================================
@@ -20,3 +20,10 @@ path = [
]
SPDX-FileCopyrightText = "Arch Linux contributors"
SPDX-License-Identifier = "0BSD"
+
+[[annotations]]
+path = [
+ "python-entrypoints-0.4-flit-core-4.0.patch",
+]
+SPDX-FileCopyrightText = "python-entrypoints contributors"
+SPDX-License-Identifier = "MIT"
=====================================
python-entrypoints-0.4-flit-core-4.0.patch
=====================================
@@ -0,0 +1,33 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 1279b10..b9491ba 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,18 +1,18 @@
+ [build-system]
+-requires = ["flit_core >=2,<4"]
++requires = ["flit_core >=3.11,<5"]
+ build-backend = "flit_core.buildapi"
+
+-[tool.flit.metadata]
+-module = "entrypoints"
+-author = "Thomas Kluyver"
+-author-email = "[email protected]"
+-home-page = "https://github.com/takluyver/entrypoints"
+-description-file = "README.rst"
++[project]
++name = "entrypoints"
++dynamic = ["version", "description"]
++authors = [{name = "Thomas Kluyver", email = "[email protected]"}]
++readme = "README.rst"
++license = "MIT"
++requires-python = ">=3.6"
+ classifiers = [
+- "License :: OSI Approved :: MIT License",
+ "Programming Language :: Python :: 3"
+ ]
+-requires-python = ">=3.6"
+
+-[tool.flit.metadata.urls]
++[project.urls]
+ Documentation = "https://entrypoints.readthedocs.io/en/latest/"
++Source = "https://github.com/takluyver/entrypoints"
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-entrypoints/-/commit/bfa17a58f108729b31c0883f5f772d59c8219af7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/python-entrypoints/-/commit/bfa17a58f108729b31c0883f5f772d59c8219af7
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help