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:   adam
Date:           Thu Feb  9 12:49:42 UTC 2023

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-hatch-nodejs-version: DESCR Makefile PLIST distinfo

Log Message:
py-hatch-nodejs-version: added version 0.3.1

This package provides two Hatch plugins:

* version source plugin that reads/writes the package version from the version
  field of the Node.js package.json file.

* metadata hook plugin that reads PEP 621 metadata from the Node.js
  package.json file.


To generate a diff of this commit:
cvs rdiff -u -r1.3916 -r1.3917 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-hatch-nodejs-version/DESCR \
    pkgsrc/devel/py-hatch-nodejs-version/Makefile \
    pkgsrc/devel/py-hatch-nodejs-version/PLIST \
    pkgsrc/devel/py-hatch-nodejs-version/distinfo

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.3916 pkgsrc/devel/Makefile:1.3917
--- pkgsrc/devel/Makefile:1.3916        Mon Feb  6 20:45:19 2023
+++ pkgsrc/devel/Makefile       Thu Feb  9 12:49:42 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3916 2023/02/06 20:45:19 nikita Exp $
+# $NetBSD: Makefile,v 1.3917 2023/02/09 12:49:42 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2547,6 +2547,7 @@ SUBDIR+=  py-guppy3
 SUBDIR+=       py-h5py
 SUBDIR+=       py-hamcrest
 SUBDIR+=       py-hatch-fancy-pypi-readme
+SUBDIR+=       py-hatch-nodejs-version
 SUBDIR+=       py-hatch-vcs
 SUBDIR+=       py-hatchling
 SUBDIR+=       py-hexbytes

Added files:

Index: pkgsrc/devel/py-hatch-nodejs-version/DESCR
diff -u /dev/null pkgsrc/devel/py-hatch-nodejs-version/DESCR:1.1
--- /dev/null   Thu Feb  9 12:49:42 2023
+++ pkgsrc/devel/py-hatch-nodejs-version/DESCR  Thu Feb  9 12:49:42 2023
@@ -0,0 +1,7 @@
+This package provides two Hatch plugins:
+
+* version source plugin that reads/writes the package version from the version
+  field of the Node.js package.json file.
+
+* metadata hook plugin that reads PEP 621 metadata from the Node.js
+  package.json file.
Index: pkgsrc/devel/py-hatch-nodejs-version/Makefile
diff -u /dev/null pkgsrc/devel/py-hatch-nodejs-version/Makefile:1.1
--- /dev/null   Thu Feb  9 12:49:42 2023
+++ pkgsrc/devel/py-hatch-nodejs-version/Makefile       Thu Feb  9 12:49:42 2023
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2023/02/09 12:49:42 adam Exp $
+
+DISTNAME=      hatch_nodejs_version-0.3.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=h/hatch-nodejs-version/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/agoose77/hatch-nodejs-version
+COMMENT=       Hatch plugin for versioning from a package.json file
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-hatchling>=0.21.0:../../devel/py-hatchling
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=7.0.1:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-hatch-nodejs-version/PLIST
diff -u /dev/null pkgsrc/devel/py-hatch-nodejs-version/PLIST:1.1
--- /dev/null   Thu Feb  9 12:49:42 2023
+++ pkgsrc/devel/py-hatch-nodejs-version/PLIST  Thu Feb  9 12:49:42 2023
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2023/02/09 12:49:42 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/hatch_nodejs_version/__init__.py
+${PYSITELIB}/hatch_nodejs_version/__init__.pyc
+${PYSITELIB}/hatch_nodejs_version/_version.py
+${PYSITELIB}/hatch_nodejs_version/_version.pyc
+${PYSITELIB}/hatch_nodejs_version/hooks.py
+${PYSITELIB}/hatch_nodejs_version/hooks.pyc
+${PYSITELIB}/hatch_nodejs_version/metadata_source.py
+${PYSITELIB}/hatch_nodejs_version/metadata_source.pyc
+${PYSITELIB}/hatch_nodejs_version/version_source.py
+${PYSITELIB}/hatch_nodejs_version/version_source.pyc
Index: pkgsrc/devel/py-hatch-nodejs-version/distinfo
diff -u /dev/null pkgsrc/devel/py-hatch-nodejs-version/distinfo:1.1
--- /dev/null   Thu Feb  9 12:49:42 2023
+++ pkgsrc/devel/py-hatch-nodejs-version/distinfo       Thu Feb  9 12:49:42 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/02/09 12:49:42 adam Exp $
+
+BLAKE2s (hatch_nodejs_version-0.3.1.tar.gz) = c778e22c20dd0984892253ce04ec1c69a3c86e186316fd9d8f6e99f5c8003dca
+SHA512 (hatch_nodejs_version-0.3.1.tar.gz) = 0dbf48474f896d3544058f8c18d415980da7bf49b63065da925b56709e62bb9749c4dac02b64395b870feb119e4f6458365cd6a84538b0bb5a7f535de77a551c
+Size (hatch_nodejs_version-0.3.1.tar.gz) = 14347 bytes



Home | Main Index | Thread Index | Old Index