diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2020-08-28 19:01:25 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-09-12 11:54:44 +0200 |
commit | a83df8dc209a2410e1e961f72cd542685fa0c6a7 (patch) | |
tree | ec863eacf4abde5072950deb053e817bee263798 /dev-python/tox | |
parent | dev-python/rsa: remove unused patch(es) (diff) | |
download | gentoo-a83df8dc209a2410e1e961f72cd542685fa0c6a7.tar.gz gentoo-a83df8dc209a2410e1e961f72cd542685fa0c6a7.tar.bz2 gentoo-a83df8dc209a2410e1e961f72cd542685fa0c6a7.zip |
dev-python/tox: remove unused patch(es)
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-python/tox')
-rw-r--r-- | dev-python/tox/files/tox-3.9.0-strip-setuptools_scm.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-python/tox/files/tox-3.9.0-strip-setuptools_scm.patch b/dev-python/tox/files/tox-3.9.0-strip-setuptools_scm.patch deleted file mode 100644 index f6f78af192dd..000000000000 --- a/dev-python/tox/files/tox-3.9.0-strip-setuptools_scm.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/setup.py b/setup.py -index 73f2540..8d6f3c3 100644 ---- a/setup.py -+++ b/setup.py -@@ -1,19 +1,13 @@ - # -*- coding: utf-8 -*- --import textwrap -+import os - - from setuptools import setup - --setup( -- use_scm_version={ -- "write_to": "src/tox/version.py", -- "write_to_template": textwrap.dedent( -- """ -- # coding: utf-8 -- from __future__ import unicode_literals -+VERSION = os.environ['PV'] -+with open('src/tox/version.py', 'wt') as fp: -+ fp.write("__version__ = u'{}'".format(VERSION)) - -- __version__ = {version!r} -- """ -- ).lstrip(), -- }, -+setup( -+ version=VERSION, - package_dir={"": "src"}, - ) |