pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: adam
Date: Thu May 4 07:22:08 UTC 2023
Modified Files:
pkgsrc/lang: Makefile
Added Files:
pkgsrc/lang/py-findpython: ALTERNATIVES DESCR Makefile PLIST distinfo
pkgsrc/lang/py-findpython/patches: patch-pyproject.toml
Log Message:
py-findpython: added version 0.2.4
This library is a rewrite of pythonfinder project by @techalchemy. It
simplifies the whole code structure while preserving most of the original
features.
To generate a diff of this commit:
cvs rdiff -u -r1.687 -r1.688 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-findpython/ALTERNATIVES \
pkgsrc/lang/py-findpython/DESCR pkgsrc/lang/py-findpython/Makefile \
pkgsrc/lang/py-findpython/PLIST pkgsrc/lang/py-findpython/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-findpython/patches/patch-pyproject.toml
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.687 pkgsrc/lang/Makefile:1.688
--- pkgsrc/lang/Makefile:1.687 Wed May 3 20:04:23 2023
+++ pkgsrc/lang/Makefile Thu May 4 07:22:08 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.687 2023/05/03 20:04:23 wiz Exp $
+# $NetBSD: Makefile,v 1.688 2023/05/04 07:22:08 adam Exp $
#
COMMENT= Programming languages
@@ -232,6 +232,7 @@ SUBDIR+= py-cmake-language-server
SUBDIR+= py-cxfreeze
SUBDIR+= py-execjs
SUBDIR+= py-executing
+SUBDIR+= py-findpython
SUBDIR+= py-hy
SUBDIR+= py-inflect
SUBDIR+= py-js2py
Added files:
Index: pkgsrc/lang/py-findpython/ALTERNATIVES
diff -u /dev/null pkgsrc/lang/py-findpython/ALTERNATIVES:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/ALTERNATIVES Thu May 4 07:22:08 2023
@@ -0,0 +1 @@
+bin/findpython @PREFIX@/bin/findpython-@PYVERSSUFFIX@
Index: pkgsrc/lang/py-findpython/DESCR
diff -u /dev/null pkgsrc/lang/py-findpython/DESCR:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/DESCR Thu May 4 07:22:08 2023
@@ -0,0 +1,3 @@
+This library is a rewrite of pythonfinder project by @techalchemy. It
+simplifies the whole code structure while preserving most of the original
+features.
Index: pkgsrc/lang/py-findpython/Makefile
diff -u /dev/null pkgsrc/lang/py-findpython/Makefile:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/Makefile Thu May 4 07:22:08 2023
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2023/05/04 07:22:08 adam Exp $
+
+DISTNAME= findpython-0.2.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= lang python
+MASTER_SITES= ${MASTER_SITE_PYPI:=f/findpython/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/frostming/findpython
+COMMENT= Utility to find Python versions on your system
+LICENSE= mit
+
+DEPENDS+= ${PYPKGPREFIX}-packaging>=20:../../devel/py-packaging
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && \
+ ${MV} findpython findpython-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-findpython/PLIST
diff -u /dev/null pkgsrc/lang/py-findpython/PLIST:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/PLIST Thu May 4 07:22:08 2023
@@ -0,0 +1,44 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/04 07:22:08 adam Exp $
+bin/findpython-${PYVERSSUFFIX}
+${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
+${PYSITELIB}/findpython/__init__.py
+${PYSITELIB}/findpython/__init__.pyc
+${PYSITELIB}/findpython/__main__.py
+${PYSITELIB}/findpython/__main__.pyc
+${PYSITELIB}/findpython/__version__.py
+${PYSITELIB}/findpython/__version__.pyc
+${PYSITELIB}/findpython/finder.py
+${PYSITELIB}/findpython/finder.pyc
+${PYSITELIB}/findpython/pep514tools/__init__.py
+${PYSITELIB}/findpython/pep514tools/__init__.pyc
+${PYSITELIB}/findpython/pep514tools/__main__.py
+${PYSITELIB}/findpython/pep514tools/__main__.pyc
+${PYSITELIB}/findpython/pep514tools/_registry.py
+${PYSITELIB}/findpython/pep514tools/_registry.pyc
+${PYSITELIB}/findpython/pep514tools/environment.py
+${PYSITELIB}/findpython/pep514tools/environment.pyc
+${PYSITELIB}/findpython/providers/__init__.py
+${PYSITELIB}/findpython/providers/__init__.pyc
+${PYSITELIB}/findpython/providers/asdf.py
+${PYSITELIB}/findpython/providers/asdf.pyc
+${PYSITELIB}/findpython/providers/base.py
+${PYSITELIB}/findpython/providers/base.pyc
+${PYSITELIB}/findpython/providers/macos.py
+${PYSITELIB}/findpython/providers/macos.pyc
+${PYSITELIB}/findpython/providers/path.py
+${PYSITELIB}/findpython/providers/path.pyc
+${PYSITELIB}/findpython/providers/pep514.py
+${PYSITELIB}/findpython/providers/pep514.pyc
+${PYSITELIB}/findpython/providers/pyenv.py
+${PYSITELIB}/findpython/providers/pyenv.pyc
+${PYSITELIB}/findpython/python.py
+${PYSITELIB}/findpython/python.pyc
+${PYSITELIB}/findpython/utils.py
+${PYSITELIB}/findpython/utils.pyc
Index: pkgsrc/lang/py-findpython/distinfo
diff -u /dev/null pkgsrc/lang/py-findpython/distinfo:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/distinfo Thu May 4 07:22:08 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/05/04 07:22:08 adam Exp $
+
+BLAKE2s (findpython-0.2.4.tar.gz) = 93bfec1e3a53fb296a3c101e08a6c40e336e9df3cd504cfecfd5a7360e020a02
+SHA512 (findpython-0.2.4.tar.gz) = 7b4ea68c07eb81b18107b5976fd5ca32220d0299f08e5c87b94e0d92f1b0f4abe146be22320c9aa46a329877f83073793cf9953d6a40a5eb09c87a9dc9d02cd5
+Size (findpython-0.2.4.tar.gz) = 16109 bytes
+SHA1 (patch-pyproject.toml) = de8d1d3e73ebcf1f658a05ea1be59a427e26688b
Index: pkgsrc/lang/py-findpython/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/lang/py-findpython/patches/patch-pyproject.toml:1.1
--- /dev/null Thu May 4 07:22:08 2023
+++ pkgsrc/lang/py-findpython/patches/patch-pyproject.toml Thu May 4 07:22:08 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2023/05/04 07:22:08 adam Exp $
+
+pdm-pep517 as been renamed and re-published as pdm-backend.
+
+--- pyproject.toml.orig 2023-05-04 07:10:54.000000000 +0000
++++ pyproject.toml
+@@ -56,6 +56,6 @@ known_first_party = [
+
+ [build-system]
+ requires = [
+- "pdm-pep517",
++ "pdm-backend",
+ ]
+-build-backend = "pdm.pep517.api"
++build-backend = "pdm.backend"
Home |
Main Index |
Thread Index |
Old Index