diff options
Diffstat (limited to 'dev-python/tox/files/tox-3.9.0-strip-setuptools_scm.patch')
-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"}, - ) |