pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel
Module Name: pkgsrc
Committed By: js
Date: Sat Aug 10 14:18:50 UTC 2024
Modified Files:
pkgsrc/devel: Makefile
Added Files:
pkgsrc/devel/py-fx2: DESCR Makefile PLIST distinfo
pkgsrc/devel/py-fx2/patches: patch-software-PKG-INFO
Log Message:
Add devel/py-fx2
The fx2 Python package allows interacting with Cypress EZ-USB FX2 series
microcontrollers. It provides:
* fx2, a Python library for interacting with the bootloader,
* fx2tool, a tool for programming and debugging the chips.
To generate a diff of this commit:
cvs rdiff -u -r1.4329 -r1.4330 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-fx2/DESCR pkgsrc/devel/py-fx2/Makefile \
pkgsrc/devel/py-fx2/PLIST pkgsrc/devel/py-fx2/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-fx2/patches/patch-software-PKG-INFO
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4329 pkgsrc/devel/Makefile:1.4330
--- pkgsrc/devel/Makefile:1.4329 Sat Aug 10 10:56:56 2024
+++ pkgsrc/devel/Makefile Sat Aug 10 14:18:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4329 2024/08/10 10:56:56 js Exp $
+# $NetBSD: Makefile,v 1.4330 2024/08/10 14:18:49 js Exp $
#
COMMENT= Development utilities
@@ -2610,6 +2610,7 @@ SUBDIR+= py-functools32
SUBDIR+= py-future
SUBDIR+= py-futures
SUBDIR+= py-fuzzywuzzy
+SUBDIR+= py-fx2
SUBDIR+= py-game
SUBDIR+= py-game_sdl2
SUBDIR+= py-gast
Added files:
Index: pkgsrc/devel/py-fx2/DESCR
diff -u /dev/null pkgsrc/devel/py-fx2/DESCR:1.1
--- /dev/null Sat Aug 10 14:18:50 2024
+++ pkgsrc/devel/py-fx2/DESCR Sat Aug 10 14:18:49 2024
@@ -0,0 +1,5 @@
+The fx2 Python package allows interacting with Cypress EZ-USB FX2 series
+microcontrollers. It provides:
+
+ * fx2, a Python library for interacting with the bootloader,
+ * fx2tool, a tool for programming and debugging the chips.
Index: pkgsrc/devel/py-fx2/Makefile
diff -u /dev/null pkgsrc/devel/py-fx2/Makefile:1.1
--- /dev/null Sat Aug 10 14:18:50 2024
+++ pkgsrc/devel/py-fx2/Makefile Sat Aug 10 14:18:49 2024
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2024/08/10 14:18:49 js Exp $
+
+# IMPORTANT: When updating this, extract the METADATA file from the PyPI wheel
+# as PKG-INFO and update the patch!
+DISTNAME= fx2-0.13
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+MASTER_SITES= ${MASTER_SITE_GITHUB:=whitequark/}
+GITHUB_PROJECT= libfx2
+GITHUB_TAG= v${PKGVERSION_NOREV}
+CATEGORIES= devel python
+PYSETUPSUBDIR= software
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/fx2/
+COMMENT= Library for interacting with Cypress EZ-USB FX2 series microcontrollers
+LICENSE= 0-clause-bsd
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+= ${PYPKGPREFIX}-usb-[0-9]*:../../devel/py-usb
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-fx2/PLIST
diff -u /dev/null pkgsrc/devel/py-fx2/PLIST:1.1
--- /dev/null Sat Aug 10 14:18:50 2024
+++ pkgsrc/devel/py-fx2/PLIST Sat Aug 10 14:18:49 2024
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2024/08/10 14:18:49 js Exp $
+bin/fx2tool
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/fx2/__init__.py
+${PYSITELIB}/fx2/__init__.pyc
+${PYSITELIB}/fx2/__init__.pyo
+${PYSITELIB}/fx2/boot-cypress.ihex
+${PYSITELIB}/fx2/format.py
+${PYSITELIB}/fx2/format.pyc
+${PYSITELIB}/fx2/format.pyo
+${PYSITELIB}/fx2/fx2tool.py
+${PYSITELIB}/fx2/fx2tool.pyc
+${PYSITELIB}/fx2/fx2tool.pyo
Index: pkgsrc/devel/py-fx2/distinfo
diff -u /dev/null pkgsrc/devel/py-fx2/distinfo:1.1
--- /dev/null Sat Aug 10 14:18:50 2024
+++ pkgsrc/devel/py-fx2/distinfo Sat Aug 10 14:18:49 2024
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2024/08/10 14:18:49 js Exp $
+
+BLAKE2s (fx2-0.13.tar.gz) = 79dfdf73bcb50073e80e04ac4c1e802615b0be0246973efd9ba5abcdc28dd64a
+SHA512 (fx2-0.13.tar.gz) = 81cd6fdeaed11ea433278eaf02597acca16e161eb765c50dbf3dca7cf6b5bf1758ebc8055e0f30f96b2c9f6edce4f35cf5ba876452dfff313d9d8d9f53534335
+Size (fx2-0.13.tar.gz) = 87722 bytes
+SHA1 (patch-software-PKG-INFO) = 263a5b5cd9982b0dc6f6c02d41bcbd9ac3db0318
Index: pkgsrc/devel/py-fx2/patches/patch-software-PKG-INFO
diff -u /dev/null pkgsrc/devel/py-fx2/patches/patch-software-PKG-INFO:1.1
--- /dev/null Sat Aug 10 14:18:50 2024
+++ pkgsrc/devel/py-fx2/patches/patch-software-PKG-INFO Sat Aug 10 14:18:49 2024
@@ -0,0 +1,38 @@
+$NetBSD: patch-software-PKG-INFO,v 1.1 2024/08/10 14:18:49 js Exp $
+
+Upstream is not providing source tarballs and the git repo is missing the
+PKG-INFO file. Therefore this adds the METADATA file from the wheel on top of
+the git repo.
+
+This is as a patch and not in files/ to be able to add a comment with the
+justification.
+
+--- /dev/null 2024-08-08 08:42:47.162564599 +0000
++++ software/PKG-INFO
+@@ -0,0 +1,26 @@
++Metadata-Version: 2.1
++Name: fx2
++Version: 0.13
++Summary: A Python package for interacting with Cypress EZ-USB FX2 series chips
++Author-email: whitequark <whitequark%whitequark.org@localhost>
++License: BSD-0-clause
++Project-URL: Documentation, https://libfx2.readthedocs.io/
++Project-URL: Source Code, https://github.com/whitequark/libfx2
++Project-URL: Bug Tracker, https://github.com/whitequark/libfx2/issues
++Classifier: Development Status :: 4 - Beta
++Classifier: License :: OSI Approved
++Classifier: Topic :: Software Development :: Embedded Systems
++Classifier: Topic :: System :: Hardware
++Description-Content-Type: text/x-rst
++Requires-Dist: libusb1 >=1.0
++
++fx2
++===
++
++The *fx2* Python package allows interacting with Cypress EZ-USB FX2 series microcontrollers.
++It provides:
++
++ * *fx2*, a Python library for interacting with the bootloader,
++ * *fx2tool*, a tool for programming and debugging the chips.
++
++See the documentation for details.
Home |
Main Index |
Thread Index |
Old Index