gpgme: fix compilation with musl 1.2.4
[feed/packages.git] / lang / python / python-automat / patches / 001-do-not-use-setuptools-scm-m2r.patch
1 --- a/setup.py
2 +++ b/setup.py
3 @@ -2,6 +2,7 @@
4 Setup file for automat
5 """
6
7 +import os
8 from setuptools import setup, find_packages
9
10 try:
11 @@ -14,7 +15,7 @@ except(IOError, ImportError):
12
13 setup(
14 name='Automat',
15 - use_scm_version=True,
16 + version=os.getenv('PKG_VERSION'),
17 url='https://github.com/glyph/Automat',
18 description="""
19 Self-service finite-state machines for the programmer on the go.
20 @@ -22,10 +23,6 @@ setup(
21 long_description=long_description,
22 packages=find_packages(exclude=[]),
23 package_dir={'automat': 'automat'},
24 - setup_requires=[
25 - 'setuptools-scm',
26 - 'm2r',
27 - ],
28 install_requires=[
29 "attrs>=19.2.0",
30 "six",