FreeBSD Bugzilla – Attachment 247734 Details for
Bug 276412
comms/py-hidapi: Update to 0.14.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to 0.14.0
0001-comms-py-hidapi-Update-to-0.14.0.patch (text/plain), 3.51 KB, created by
Alastair Hogge
on 2024-01-18 02:44:32 UTC
(
hide
)
Description:
Update to 0.14.0
Filename:
MIME Type:
Creator:
Alastair Hogge
Created:
2024-01-18 02:44:32 UTC
Size:
3.51 KB
patch
obsolete
>From 0f6292fb478a41cab7277534425287f46983edae Mon Sep 17 00:00:00 2001 >From: Alastair Hogge <agh@riseup.net> >Date: Thu, 18 Jan 2024 10:23:23 +0800 >Subject: [PATCH] comms/py-hidapi: Update to 0.14.0 > >Update to 0.14.0 >- Use Github over PYPI to obtain documentation source >- Use Sphinx to build HTML, and manual page documentation >- Switch to PEP517 build >- Add testing framework >- Update LICENSE block > >https://github.com/trezor/cython-hidapi/compare/0.11.0.post2...0.14.0 >--- > comms/py-hidapi/Makefile | 48 +++++++++++++++++++++++++++++++++++----- > comms/py-hidapi/distinfo | 6 ++--- > 2 files changed, 45 insertions(+), 9 deletions(-) > >diff --git a/comms/py-hidapi/Makefile b/comms/py-hidapi/Makefile >index 37f541d03734..3a71cb3f87db 100644 >--- a/comms/py-hidapi/Makefile >+++ b/comms/py-hidapi/Makefile >@@ -1,26 +1,62 @@ > PORTNAME= hidapi >-DISTVERSION= 0.11.0.post2 >+DISTVERSION= 0.14.0 > CATEGORIES= comms python >-MASTER_SITES= PYPI > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >+DISTNAME= ${GH_ACCOUNT}-${PORTVERSION}${EXTRACT_SUFX} > > MAINTAINER= ports@FreeBSD.org > COMMENT= Cython interface to comms/hidapi > WWW= https://pypi.org/project/hidapi/ > >-LICENSE= GPLv3 >- >+LICENSE= BSD3CLAUSE GPLv3 PD >+LICENSE_COMB= multi >+LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE-bsd.txt >+LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSE-gpl3.txt >+LICENSE_FILE_PD= ${WRKSRC}/LICENSE-orig.txt >+LICENSE_FILE= ${WRKSRC}/LICENSE.txt >+ >+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>0:lang/cython@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}recommonmark>0:textproc/py-recommonmark@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx>0:textproc/py-sphinx@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}sphinx_rtd_theme>0:textproc/py-sphinx_rtd_theme@${PY_FLAVOR} \ >+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} > LIB_DEPENDS= libhidapi.so:comms/hidapi >+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} >+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} > >-USES= python >-USE_PYTHON= autoplist cython distutils >+USES= pytest python >+USE_GITHUB= yes >+GH_ACCOUNT= trezor >+GH_PROJECT= cython-hidapi >+USE_PYTHON= autoplist cython pep517 > > MAKE_ENV+= DISTUTILS_DEBUG=1 > >+PLIST_FILES= share/man/man1/${PORTNAME}.1.gz >+PORTDOCS= * >+ >+OPTIONS_DEFINE= DOCS >+ > post-patch: > @${REINPLACE_CMD} -e 's|usb-1.0|usb|g' ${WRKSRC}/setup.py > >+post-build: >+ (cd ${WRKSRC}/docs && \ >+ ${SETENV} sphinx-build-${PYTHON_VER} -b man . _build/man) >+ >+post-build-DOCS-on: >+ (cd ${WRKSRC}/docs && \ >+ ${SETENV} sphinx-build-${PYTHON_VER} -b html . _build/html) >+ > post-install: >+ ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/${PORTNAME}.1 \ >+ ${STAGEDIR}${PREFIX}/share/man/man1/ > @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hid*.so > >+post-install-DOCS-on: >+ ${MKDIR} ${STAGEDIR}${DOCSDIR} >+ (cd ${WRKSRC}/docs/_build/html && \ >+ ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/ "-not -name .buildinfo -not -regex ^./.doctrees.* -not -regex ^./_sources.*") >+ > .include <bsd.port.mk> >diff --git a/comms/py-hidapi/distinfo b/comms/py-hidapi/distinfo >index aab0a47ffc52..5d36d0d636cb 100644 >--- a/comms/py-hidapi/distinfo >+++ b/comms/py-hidapi/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1634926262 >-SHA256 (hidapi-0.11.0.post2.tar.gz) = da815e0d1d4b2ef1ebbcc85034572105dca29627eb61881337aa39010f2ef8cb >-SIZE (hidapi-0.11.0.post2.tar.gz) = 136467 >+TIMESTAMP = 1705544232 >+SHA256 (trezor-cython-hidapi-0.14.0_GH0.tar.gz) = 211b0cb99b1f9724f3d1b09d198d764b7eca77514ae86584e3f3ce872aefff51 >+SIZE (trezor-cython-hidapi-0.14.0_GH0.tar.gz) = 22504 >-- >2.43.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 276412
:
247734
|
247735