update to py3-fasteners-0.18
This commit is contained in:
parent
4367a1d153
commit
564dd6e879
@ -1,30 +1,28 @@
|
||||
COMMENT = python package that provides useful locks
|
||||
COMMENT = Python package that provides useful locks
|
||||
|
||||
MODPY_EGG_VERSION = 0.15
|
||||
DISTNAME = fasteners-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
REVISION = 3
|
||||
MODPY_EGG_VERSION = 0.18
|
||||
DISTNAME = fasteners-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
CATEGORIES = devel
|
||||
CATEGORIES = devel
|
||||
|
||||
HOMEPAGE = https://github.com/harlowja/fasteners
|
||||
HOMEPAGE = https://github.com/harlowja/fasteners
|
||||
|
||||
# Apache 2.0
|
||||
PERMIT_PACKAGE = Yes
|
||||
PERMIT_PACKAGE =Yes
|
||||
|
||||
MODULES = lang/python
|
||||
MODULES = lang/python
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_SETUPTOOLS = Yes
|
||||
MODPY_PYTEST = Yes
|
||||
MODPY_PYTEST_ARGS = fasteners
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = setuptools
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR}
|
||||
|
||||
TEST_DEPENDS = devel/py-pbr${MODPY_FLAVOR} \
|
||||
devel/py-testtools${MODPY_FLAVOR}
|
||||
# not in pypi release
|
||||
NO_TEST = Yes
|
||||
#MODPY_PYTEST_ARGS = fasteners
|
||||
#TEST_DEPENDS = devel/py-pbr${MODPY_FLAVOR} \
|
||||
# devel/py-testtools${MODPY_FLAVOR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (fasteners-0.15.tar.gz) = OhdtprcN+buISY4aGKnkqFee1bkUEgd2I2ihAXv49e8=
|
||||
SIZE (fasteners-0.15.tar.gz) = 17898
|
||||
SHA256 (fasteners-0.18.tar.gz) = y3wT75Hgx+T+SvOOyva5BOw/XODdoG00kktrdLhp2VM=
|
||||
SIZE (fasteners-0.18.tar.gz) = 17809
|
||||
|
@ -1,19 +0,0 @@
|
||||
Patch to use native monotonic for Python 3.7+
|
||||
|
||||
https://github.com/harlowja/fasteners/pull/40
|
||||
|
||||
Index: fasteners/_utils.py
|
||||
--- fasteners/_utils.py.orig
|
||||
+++ fasteners/_utils.py
|
||||
@@ -36,7 +36,10 @@ except (ImportError, AttributeError):
|
||||
|
||||
import six
|
||||
|
||||
-from monotonic import monotonic as now # noqa
|
||||
+try:
|
||||
+ from time import monotonic as now
|
||||
+except (ImportError, AttributeError):
|
||||
+ from monotonic import monotonic as now # noqa
|
||||
|
||||
# log level for low-level debugging
|
||||
BLATHER = 5
|
@ -1,16 +0,0 @@
|
||||
Tweak setup.py to not need py-monotonic for python3
|
||||
|
||||
https://github.com/harlowja/fasteners/pull/40
|
||||
|
||||
Index: setup.py
|
||||
--- setup.py.orig
|
||||
+++ setup.py
|
||||
@@ -26,7 +26,7 @@ with open("README.rst", "r") as readme:
|
||||
|
||||
install_requires = [
|
||||
'six',
|
||||
- 'monotonic>=0.1',
|
||||
+ 'monotonic>=0.1;python_version<"3.4"',
|
||||
]
|
||||
|
||||
setup(
|
@ -1,33 +1,41 @@
|
||||
@pkgpath devel/py-fasteners
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/LICENSE
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/METADATA
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/RECORD
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/WHEEL
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners-${MODPY_EGG_VERSION}.dist-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}_utils.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}_utils.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}lock.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}lock.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}process_lock.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}process_lock.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}test.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}process_mechanism.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}process_mechanism.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/${MODPY_PYCACHE}version.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/_utils.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/lock.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/process_lock.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/test.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}test_decorators.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}test_helpers.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}test_lock.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/${MODPY_PYCACHE}test_process_lock.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/test_decorators.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/test_helpers.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/test_lock.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/tests/test_process_lock.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/process_mechanism.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/__init__.py
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}pywintypes.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}pywintypes.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}win32con.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}win32con.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}win32file.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/${MODPY_PYCACHE}win32file.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/pywintypes.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/win32con.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/pywin32/win32file.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fasteners/version.py
|
||||
|
Loading…
Reference in New Issue
Block a user