diff options
Diffstat (limited to 'app-crypt/wile/files/wile-0.3.1-setup.patch')
-rw-r--r-- | app-crypt/wile/files/wile-0.3.1-setup.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/app-crypt/wile/files/wile-0.3.1-setup.patch b/app-crypt/wile/files/wile-0.3.1-setup.patch deleted file mode 100644 index 76072b4..0000000 --- a/app-crypt/wile/files/wile-0.3.1-setup.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 120fbe77e695c39744e4e620e24aa57585f5ee57 Mon Sep 17 00:00:00 2001 -From: Sebastian Pipping <sebastian@pipping.org> -Date: Fri, 24 Feb 2017 19:56:34 +0100 -Subject: [PATCH] Fix "./setup.py build" for when there is no .git around - ---- - setup.py | 13 ++++++++++--- - 1 file changed, 10 insertions(+), 3 deletions(-) - -diff --git a/setup.py b/setup.py -index 3ed03c2..cfce972 100755 ---- a/setup.py -+++ b/setup.py -@@ -1,15 +1,14 @@ - #!/usr/bin/python - import os -+import sys - from setuptools import setup - - - def read(filename): - return open(os.path.join(os.path.dirname(__file__), filename)).read() - --setup( -+config = dict( - name="wile", -- use_scm_version=True, -- setup_requires=['setuptools_scm'], - author="Leo Antunes", - author_email="leo@costela.net", - description=("A stripped down Let's Encrypt (ACME) client"), -@@ -42,3 +41,11 @@ setup( - 'Topic :: Utilities', - ], - ) -+ -+if 'sdist' in sys.argv: -+ config.update(dict( -+ use_scm_version=True, -+ setup_requires=['setuptools_scm'], -+ )) -+ -+setup(**config) --- -2.11.1 - |