pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu May  4 06:59:57 UTC 2023

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/py-unearth: ALTERNATIVES DESCR Makefile PLIST distinfo
        pkgsrc/net/py-unearth/patches: patch-pyproject.toml

Log Message:
py-unearth: added version 0.9.0

A utility to fetch and download python packages.


To generate a diff of this commit:
cvs rdiff -u -r1.1512 -r1.1513 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-unearth/ALTERNATIVES \
    pkgsrc/net/py-unearth/DESCR pkgsrc/net/py-unearth/Makefile \
    pkgsrc/net/py-unearth/PLIST pkgsrc/net/py-unearth/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-unearth/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/net/Makefile
diff -u pkgsrc/net/Makefile:1.1512 pkgsrc/net/Makefile:1.1513
--- pkgsrc/net/Makefile:1.1512  Wed May  3 14:22:32 2023
+++ pkgsrc/net/Makefile Thu May  4 06:59:56 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1512 2023/05/03 14:22:32 taca Exp $
+# $NetBSD: Makefile,v 1.1513 2023/05/04 06:59:56 adam Exp $
 #
 
 COMMENT=       Networking tools
@@ -799,6 +799,7 @@ SUBDIR+=    py-twisted-docs
 SUBDIR+=       py-twython
 SUBDIR+=       py-txamqp
 SUBDIR+=       py-txtorcon
+SUBDIR+=       py-unearth
 SUBDIR+=       py-xandikos
 SUBDIR+=       py-xmm7360
 SUBDIR+=       py-zeep

Added files:

Index: pkgsrc/net/py-unearth/ALTERNATIVES
diff -u /dev/null pkgsrc/net/py-unearth/ALTERNATIVES:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/ALTERNATIVES  Thu May  4 06:59:56 2023
@@ -0,0 +1 @@
+bin/unearth @PREFIX@/bin/unearth-@PYVERSSUFFIX@
Index: pkgsrc/net/py-unearth/DESCR
diff -u /dev/null pkgsrc/net/py-unearth/DESCR:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/DESCR Thu May  4 06:59:56 2023
@@ -0,0 +1 @@
+A utility to fetch and download python packages.
Index: pkgsrc/net/py-unearth/Makefile
diff -u /dev/null pkgsrc/net/py-unearth/Makefile:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/Makefile      Thu May  4 06:59:56 2023
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2023/05/04 06:59:56 adam Exp $
+
+DISTNAME=      unearth-0.9.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    net python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=u/unearth/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/frostming/unearth
+COMMENT=       Utility to fetch and download python packages
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend-[0-9]*:../../devel/py-pdm_backend
+DEPENDS+=      ${PYPKGPREFIX}-packaging>=20:../../devel/py-packaging
+DEPENDS+=      ${PYPKGPREFIX}-requests>=2.25:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-flask>=2.1.2:../../www/py-flask
+#TEST_DEPENDS+=        ${PYPKGPREFIX}-requests-wsgi-adapter>=0.4.1:../../www/py-flask
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.1:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpserver>=1.0.4:../../devel/py-test-httpserver
+TEST_DEPENDS+= ${PYPKGPREFIX}-trustme>=0.9.0:../../security/py-trustme
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} unearth unearth-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/py-unearth/PLIST
diff -u /dev/null pkgsrc/net/py-unearth/PLIST:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/PLIST Thu May  4 06:59:56 2023
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1 2023/05/04 06:59:56 adam Exp $
+bin/unearth-${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}/unearth/__init__.py
+${PYSITELIB}/unearth/__init__.pyc
+${PYSITELIB}/unearth/__main__.py
+${PYSITELIB}/unearth/__main__.pyc
+${PYSITELIB}/unearth/auth.py
+${PYSITELIB}/unearth/auth.pyc
+${PYSITELIB}/unearth/collector.py
+${PYSITELIB}/unearth/collector.pyc
+${PYSITELIB}/unearth/errors.py
+${PYSITELIB}/unearth/errors.pyc
+${PYSITELIB}/unearth/evaluator.py
+${PYSITELIB}/unearth/evaluator.pyc
+${PYSITELIB}/unearth/finder.py
+${PYSITELIB}/unearth/finder.pyc
+${PYSITELIB}/unearth/link.py
+${PYSITELIB}/unearth/link.pyc
+${PYSITELIB}/unearth/pep425tags.py
+${PYSITELIB}/unearth/pep425tags.pyc
+${PYSITELIB}/unearth/preparer.py
+${PYSITELIB}/unearth/preparer.pyc
+${PYSITELIB}/unearth/py.typed
+${PYSITELIB}/unearth/session.py
+${PYSITELIB}/unearth/session.pyc
+${PYSITELIB}/unearth/utils.py
+${PYSITELIB}/unearth/utils.pyc
+${PYSITELIB}/unearth/vcs/__init__.py
+${PYSITELIB}/unearth/vcs/__init__.pyc
+${PYSITELIB}/unearth/vcs/base.py
+${PYSITELIB}/unearth/vcs/base.pyc
+${PYSITELIB}/unearth/vcs/bazaar.py
+${PYSITELIB}/unearth/vcs/bazaar.pyc
+${PYSITELIB}/unearth/vcs/git.py
+${PYSITELIB}/unearth/vcs/git.pyc
+${PYSITELIB}/unearth/vcs/hg.py
+${PYSITELIB}/unearth/vcs/hg.pyc
+${PYSITELIB}/unearth/vcs/svn.py
+${PYSITELIB}/unearth/vcs/svn.pyc
Index: pkgsrc/net/py-unearth/distinfo
diff -u /dev/null pkgsrc/net/py-unearth/distinfo:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/distinfo      Thu May  4 06:59:56 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/05/04 06:59:56 adam Exp $
+
+BLAKE2s (unearth-0.9.0.tar.gz) = c4297604b53e4d9c60ab2f48ebfd27090834e21b29df0818e17a378a51ac57dc
+SHA512 (unearth-0.9.0.tar.gz) = 8eed609da6f70855824fee64408a437a58b2531fb58b87ab93587b8a620b611109b82414744f323d961c2c40ad40ae40c5b8d6e44ca5a9caa2c9693da0f529dd
+Size (unearth-0.9.0.tar.gz) = 270152 bytes
+SHA1 (patch-pyproject.toml) = 8615a980449fb5757d6d42a0b5589121e33b5ef1

Index: pkgsrc/net/py-unearth/patches/patch-pyproject.toml
diff -u /dev/null pkgsrc/net/py-unearth/patches/patch-pyproject.toml:1.1
--- /dev/null   Thu May  4 06:59:57 2023
+++ pkgsrc/net/py-unearth/patches/patch-pyproject.toml  Thu May  4 06:59:57 2023
@@ -0,0 +1,17 @@
+$NetBSD: patch-pyproject.toml,v 1.1 2023/05/04 06:59:57 adam Exp $
+
+pdm-pep517 as been renamed and re-published as pdm-backend.
+
+--- pyproject.toml.orig        2023-05-04 05:25:01.000000000 +0000
++++ pyproject.toml
+@@ -1,8 +1,8 @@
+ [build-system]
+ requires = [
+-    "pdm-pep517",
++    "pdm-backend",
+ ]
+-build-backend = "pdm.pep517.api"
++build-backend = "pdm.backend"
+ 
+ [project]
+ name = "unearth"



Home | Main Index | Thread Index | Old Index