Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rasmus Thomsen
aports
Commits
d59b8586
Commit
d59b8586
authored
Nov 13, 2019
by
Mike Sullivan
Committed by
Francesco Colista
Nov 13, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
community/certbot: change version checking to Loose when using python3.8
parent
6eca8b06
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
community/certbot/APKBUILD
community/certbot/APKBUILD
+4
-2
community/certbot/cerbot_py3_looseversion.patch
community/certbot/cerbot_py3_looseversion.patch
+20
-0
No files found.
community/certbot/APKBUILD
View file @
d59b8586
...
...
@@ -26,7 +26,8 @@ depends="
checkdepends
=
"py3-augeas"
replaces
=
"letsencrypt"
subpackages
=
"py3-acme:acme
$pkgname
-nginx
$pkgname
-apache"
source
=
"certbot-
$pkgver
.tar.gz::https://github.com/certbot/certbot/archive/v
$pkgver
.tar.gz"
source
=
"certbot-
$pkgver
.tar.gz::https://github.com/certbot/certbot/archive/v
$pkgver
.tar.gz
cerbot_py3_looseversion.patch"
build
()
{
local
i
...
...
@@ -96,4 +97,5 @@ apache() {
python3 setup.py
install
--prefix
=
/usr
--root
=
"
$subpkgdir
"
}
sha512sums
=
"e5517a20cf26efba850728b3f81db5d6c3c5570b0a1c8eeeec9d4a4401ac04bcf44c6a2f1c248bf6e0b1be4a21b54f6168ccd11dc766304805f13b4cb16336b3 certbot-0.40.1.tar.gz"
sha512sums
=
"e5517a20cf26efba850728b3f81db5d6c3c5570b0a1c8eeeec9d4a4401ac04bcf44c6a2f1c248bf6e0b1be4a21b54f6168ccd11dc766304805f13b4cb16336b3 certbot-0.40.1.tar.gz
2886130eb5c28c3af3435107f2c8fce1c2cd8e1fbf1a49c11f8ba276b5748c26913748bbc4af10dca522a55e82bbae786f9a06d7c75efe94faf9afb0597f91b7 cerbot_py3_looseversion.patch"
community/certbot/cerbot_py3_looseversion.patch
0 → 100644
View file @
d59b8586
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
import re
import sys
-from distutils.version import StrictVersion
+from distutils.version import LooseVersion
from setuptools import find_packages, setup, __version__ as setuptools_version
from setuptools.command.test import test as TestCommand
@@ -60,7 +60,7 @@
# So this dependency is not added for old Linux distributions with old setuptools,
# in order to allow these systems to build certbot from sources.
pywin32_req = 'pywin32>=225' # do not forget to edit pywin32 dependency accordingly in windows-installer/construct.py
-if StrictVersion(setuptools_version) >= StrictVersion('36.2'):
+if LooseVersion(setuptools_version) >= LooseVersion('36.2'):
install_requires.append(pywin32_req + " ; sys_platform == 'win32'")
elif 'bdist_wheel' in sys.argv[1:]:
raise RuntimeError('Error, you are trying to build certbot wheels using an old version '
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment