#6 Use flit-core to build this package, instead of flit
Merged 11 months ago by nonamedotc. Opened a year ago by churchyard.
rpms/ churchyard/python-entrypoints flit-core  into  rawhide

file added
+22
@@ -0,0 +1,22 @@ 

+ From 1869c4845ea052a90835318749b3662acd44e7db Mon Sep 17 00:00:00 2001

+ From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>

+ Date: Sat, 29 Jan 2022 15:50:14 +0100

+ Subject: [PATCH] Switch build-backend to flit_core

+ 

+ ---

+  pyproject.toml | 4 ++--

+  1 file changed, 2 insertions(+), 2 deletions(-)

+ 

+ diff --git a/pyproject.toml b/pyproject.toml

+ index d652fe0..cdea9de 100644

+ --- a/pyproject.toml

+ +++ b/pyproject.toml

+ @@ -1,6 +1,6 @@

+  [build-system]

+ -requires = ["flit"]

+ -build-backend = "flit.buildapi"

+ +requires = ["flit_core"]

+ +build-backend = "flit_core.buildapi"

+  

+  [tool.flit.metadata]

+  module = "entrypoints"

file modified
+8 -2
@@ -6,7 +6,7 @@ 

  # WARNING: Check if an update does not break flake8!

  Version:	0.3

  

- Release:	15%{?dist}

+ Release:	16%{?dist}

  Summary:	%{sum}

  

  # license clarification issue opened upstream
@@ -17,6 +17,9 @@ 

  URL:		https://entrypoints.readthedocs.io/

  Source0:	https://github.com/takluyver/%{srcname}/archive/%{version}/%{srcname}-%{version}.tar.gz

  

+ # Switch build-backend to flit_core, from upstream version 0.4

+ Patch:		https://github.com/takluyver/entrypoints/commit/1869c4845e.patch

+ 

  BuildArch:	noarch

  BuildRequires: make

  BuildRequires:	python3-devel
@@ -46,7 +49,7 @@ 

  Documentation files for python-entrypoints

  

  %prep

- %autosetup -n %{srcname}-%{version}

+ %autosetup -n %{srcname}-%{version} -p1

  

  

  %generate_buildrequires
@@ -81,6 +84,9 @@ 

  

  

  %changelog

+ * Mon May 15 2023 Miro Hrončok <mhroncok@redhat.com> - 0.3-16

+ - Use flit-core to build this package, instead of flit

+ 

  * Mon Feb 13 2023 Miro Hrončok <mhroncok@redhat.com>

  - Convert to pyproject-rpm-macros

  - The INSTALLER file now says "rpm" instead of "pip"

no initial comment

Friendly bump? This package is not co-maintained by the python-packagers-sig, so I don't want to just go ahead and merge it, but it has been 3+ weeks.

Yes, sorry. I thought this was co-maintained.

Happy to merge. Also adding python-packagers-sig as co-maintainer.

Pull-Request has been merged by nonamedotc

11 months ago

Building python-entrypoints-0.3-16.fc39 for rawhide
Created task: 101987978
Task info: https://koji.fedoraproject.org/koji/taskinfo?taskID=101987978

Also adding python-packagers-sig as co-maintainer.

Thanks!

Metadata