python3-fasteners: update to 0.16.
This commit is contained in:
parent
0b29cb2912
commit
8cd515f80a
|
@ -1,34 +0,0 @@
|
|||
--- fasteners/_utils.py.orig
|
||||
+++ fasteners/_utils.py
|
||||
@@ -19,7 +19,10 @@
|
||||
import logging
|
||||
import time
|
||||
|
||||
-from monotonic import monotonic as now # noqa
|
||||
+try:
|
||||
+ from time import monotonic as now
|
||||
+except ImportError:
|
||||
+ from monotonic import monotonic as now
|
||||
|
||||
# log level for low-level debugging
|
||||
BLATHER = 5
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
install_requires = [
|
||||
'six',
|
||||
- 'monotonic>=0.1',
|
||||
]
|
||||
|
||||
setup(
|
||||
@@ -38,6 +37,9 @@
|
||||
url='https://github.com/harlowja/fasteners',
|
||||
license="ASL 2.0",
|
||||
install_requires=install_requires,
|
||||
+ extras_require={
|
||||
+ ':python_version<"3.3"': ['monotonic'],
|
||||
+ },
|
||||
classifiers=[
|
||||
"Development Status :: 4 - Beta",
|
||||
"Topic :: Utilities",
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python3-fasteners'
|
||||
pkgname=python3-fasteners
|
||||
version=0.15
|
||||
revision=4
|
||||
version=0.16
|
||||
revision=1
|
||||
wrksrc="fasteners-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
|
@ -11,4 +11,4 @@ maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|||
license="Apache-2.0"
|
||||
homepage="https://pypi.org/project/fasteners/"
|
||||
distfiles="${PYPI_SITE}/f/fasteners/fasteners-${version}.tar.gz"
|
||||
checksum=3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef
|
||||
checksum=c995d8c26b017c5d6a6de9ad29a0f9cdd57de61ae1113d28fac26622b06a0933
|
||||
|
|
Loading…
Reference in New Issue