From b9b3bc72d39eca09b4c7d7a4409529369d9e87a1 Mon Sep 17 00:00:00 2001 From: Stefano Rivera <stefanor@debian.org> Date: Sat, 12 Nov 2022 10:21:18 +0200 Subject: [PATCH] Patch: Setuptools 60 support. (Closes: #1022456) --- debian/changelog | 6 ++++++ debian/patches/series | 1 + debian/patches/setuptools-60 | 25 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 debian/patches/series create mode 100644 debian/patches/setuptools-60 diff --git a/debian/changelog b/debian/changelog index 794659a..9b98319 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +django-js-reverse (0.7.3-3) UNRELEASED; urgency=medium + + * Patch: Setuptools 60 support. (Closes: #1022456) + + -- Stefano Rivera <stefanor@debian.org> Sat, 12 Nov 2022 10:20:50 +0200 + django-js-reverse (0.7.3-2) unstable; urgency=medium [ Ondřej Nový ] diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..092d259 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +setuptools-60 diff --git a/debian/patches/setuptools-60 b/debian/patches/setuptools-60 new file mode 100644 index 0000000..c2bfc88 --- /dev/null +++ b/debian/patches/setuptools-60 @@ -0,0 +1,25 @@ +From: Thomas Grainger <tagrain@gmail.com> +Date: Thu, 1 Aug 2019 16:26:14 +0100 +Subject: Migrate to setuptools + +Origin: upstream, https://github.com/ierror/django-js-reverse/commit/31e7ea12f17d3551ce6f347c6dffa0503ade1ef1 +Bug-Debian: https://bugs.debian.org/1022456 +--- + setup.py | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/setup.py b/setup.py +index 2e7355f..4f3a5b8 100644 +--- a/setup.py ++++ b/setup.py +@@ -2,9 +2,8 @@ + # -*- coding: utf-8 -*- + import codecs + import os +-from distutils.core import setup + +-from setuptools import find_packages ++from setuptools import setup, find_packages + + + def read(*parts): -- GitLab