diff options
author | Morgenstern | 2021-02-07 11:32:02 +1300 |
---|---|---|
committer | Morgenstern | 2021-02-07 11:34:09 +1300 |
commit | 3123c70c95cc14a0c104ce3293cc617074d2d013 (patch) | |
tree | 68f1b98f0c4ef8d17089b66bbc2f188e21d6ddee /enum34-extra-requires.patch | |
parent | d32f5505dd7d4e0628e83d72b952a55ad7b04b79 (diff) | |
download | aur-3123c70c95cc14a0c104ce3293cc617074d2d013.tar.gz |
Change source to enum34 commit, add patch to eliminate Python 2 dependencies
Diffstat (limited to 'enum34-extra-requires.patch')
-rw-r--r-- | enum34-extra-requires.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/enum34-extra-requires.patch b/enum34-extra-requires.patch deleted file mode 100644 index 2f4a2b1e1100..000000000000 --- a/enum34-extra-requires.patch +++ /dev/null @@ -1,65 +0,0 @@ -diff --unified --recursive --text package.orig/linode-cli-2.1.2/Makefile package.new/linode-cli-2.1.2/Makefile ---- package.orig/linode-cli-2.1.2/Makefile 2019-03-14 08:49:40.000000000 +1300 -+++ package.new/linode-cli-2.1.2/Makefile 2019-03-25 13:54:28.602667639 +1300 -@@ -9,8 +9,8 @@ - PYCMD=python3 - PIPCMD=pip3 - else -- PYCMD=python -- PIPCMD=pip -+ PYCMD=python2 -+ PIPCMD=pip2 - endif - - install: check-prerequisites requirements build -@@ -18,7 +18,7 @@ - - .PHONY: build - build: clean -- python -m linodecli bake ${SPEC} --skip-config -+ python2 -m linodecli bake ${SPEC} --skip-config - python3 -m linodecli bake ${SPEC} --skip-config - cp data-2 linodecli/ - cp data-3 linodecli/ -@@ -26,14 +26,14 @@ - - .PHONY: requirements - requirements: -- pip install -r requirements.txt -+ pip2 install -r requirements.txt - pip3 install -r requirements.txt - - .PHONY: check-prerequisites - check-prerequisites: -- @ pip -v >/dev/null -+ @ pip2 -v >/dev/null - @ pip3 -v >/dev/null -- @ python -V >/dev/null -+ @ python2 -V >/dev/null - @ python3 -V >/dev/null - - .PHONY: clean -diff --unified --recursive --text package.orig/linode-cli-2.1.2/requirements.txt package.new/linode-cli-2.1.2/requirements.txt ---- package.orig/linode-cli-2.1.2/requirements.txt 2019-03-14 08:49:40.000000000 +1300 -+++ package.new/linode-cli-2.1.2/requirements.txt 2019-03-25 13:55:52.365450565 +1300 -@@ -2,4 +2,4 @@ - colorclass - requests - PyYAML --enum34 -+enum34; python_version < '3.4' -diff --unified --recursive --text package.orig/linode-cli-2.1.2/setup.py package.new/linode-cli-2.1.2/setup.py ---- package.orig/linode-cli-2.1.2/setup.py 2019-03-14 08:49:40.000000000 +1300 -+++ package.new/linode-cli-2.1.2/setup.py 2019-03-25 14:14:14.785811129 +1300 -@@ -47,7 +47,10 @@ - 'linodecli.plugins', - ], - license="BSD 3-Clause License", -- install_requires=["terminaltables","colorclass","requests","PyYAML","enum34"], -+ install_requires=["terminaltables","colorclass","requests","PyYAML"], -+ extras_require={ -+ ":python_version<'3.4'": ['enum34'], -+ }, - entry_points={ - "console_scripts": [ - "linode-cli = linodecli:main", |