diff --git a/srcpkgs/python3-fasteners/patches/fasteners-monotonic.patch b/srcpkgs/python3-fasteners/patches/fasteners-monotonic.patch deleted file mode 100644 index 2f6cb630f83..00000000000 --- a/srcpkgs/python3-fasteners/patches/fasteners-monotonic.patch +++ /dev/null @@ -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", diff --git a/srcpkgs/python3-fasteners/template b/srcpkgs/python3-fasteners/template index 0dbad10f475..ca828fcf351 100644 --- a/srcpkgs/python3-fasteners/template +++ b/srcpkgs/python3-fasteners/template @@ -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 " license="Apache-2.0" homepage="https://pypi.org/project/fasteners/" distfiles="${PYPI_SITE}/f/fasteners/fasteners-${version}.tar.gz" -checksum=3a176da6b70df9bb88498e1a18a9e4a8579ed5b9141207762368a1017bf8f5ef +checksum=c995d8c26b017c5d6a6de9ad29a0f9cdd57de61ae1113d28fac26622b06a0933