pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-swh-loader-npm-0.0.7 import to wip
Module Name: pkgsrc-wip
Committed By: K.I.A.Derouiche <kamel.derouiche%gmail.com@localhost>
Pushed By: jihbed
Date: Sun Dec 27 11:08:39 2020 +0100
Changeset: 5203a2d97c619035b42968327aa9bc895002df97
Added Files:
py-swh-loader-npm/DESCR
py-swh-loader-npm/Makefile
py-swh-loader-npm/PLIST
py-swh-loader-npm/distinfo
Log Message:
py-swh-loader-npm-0.0.7 import to wip
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5203a2d97c619035b42968327aa9bc895002df97
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-swh-loader-npm/DESCR | 23 ++++++++++++++++++++
py-swh-loader-npm/Makefile | 30 ++++++++++++++++++++++++++
py-swh-loader-npm/PLIST | 53 ++++++++++++++++++++++++++++++++++++++++++++++
py-swh-loader-npm/distinfo | 6 ++++++
4 files changed, 112 insertions(+)
diffs:
diff --git a/py-swh-loader-npm/DESCR b/py-swh-loader-npm/DESCR
new file mode 100644
index 0000000000..3eb1559c6d
--- /dev/null
+++ b/py-swh-loader-npm/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README.md
+
+swh-loader-npm
+==============
+
+Software Heritage loader to ingest [`npm`](https://www.npmjs.com/) packages into the archive.
+
+# What does the loader do?
+
+The npm loader visits and loads a npm package [1].
+
+Each visit will result in:
+- 1 snapshot (which targets n revisions ; 1 per package release version)
+- 1 revision (which targets 1 directory ; the package release version uncompressed)
+
+[1] https://docs.npmjs.com/about-packages-and-modules
+
+## First visit
+
+Given a npm package (origin), the loader, for the first visit:
+
+- retrieves information for the given package (notably released versions)
+...
diff --git a/py-swh-loader-npm/Makefile b/py-swh-loader-npm/Makefile
new file mode 100644
index 0000000000..a5b8d770e3
--- /dev/null
+++ b/py-swh-loader-npm/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME= swh.loader.npm-0.0.7
+PKGNAME= ${PYPKGPREFIX}-swh-loader-npm-0.0.7
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=s/swh.loader.npm/}
+
+MAINTAINER= kamelderouiche%yahoo.com@localhost
+HOMEPAGE= https://forge.softwareheritage.org/source/swh-loader-npm.git
+COMMENT= Software Heritage loader for npm packages
+LICENSE= gnu-gpl-v3
+
+PYTHON_VERSIONS_INCOMPATIBLE+= 27
+
+DEPENDS+= ${PYPKGPREFIX}-requests>=2.25.0:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-vcversioner>=2.16.0.0:../../devel/py-vcversioner
+DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.4:../../converters/py-chardet
+DEPENDS+= ${PYPKGPREFIX}-dateutil>=2.8.1:../../time/py-dateutil
+DEPENDS+= ${PYPKGPREFIX}-swh-model>=0.7.2:../../wip/py-swh-model
+DEPENDS+= ${PYPKGPREFIX}-swh-storage>=0.0.83:../../wip/py-swh-storage
+DEPENDS+= ${PYPKGPREFIX}-swh-scheduler>=0.0.39:../../wip/py-swh-scheduler
+DEPENDS+= ${PYPKGPREFIX}-swh-core>=0.10.0:../../wip/py-swh-core
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=6.2.0:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-requests-mock>=1.8.0:../../devel/py-requests-mock
+TEST_DEPENDS+= ${PYPKGPREFIX}-swh-core>=0.10.0:../../wip/py-swh-core
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-swh-loader-npm/PLIST b/py-swh-loader-npm/PLIST
new file mode 100644
index 0000000000..264abe058d
--- /dev/null
+++ b/py-swh-loader-npm/PLIST
@@ -0,0 +1,53 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/swh/__init__.py
+${PYSITELIB}/swh/__init__.pyc
+${PYSITELIB}/swh/__init__.pyo
+${PYSITELIB}/swh/loader/__init__.py
+${PYSITELIB}/swh/loader/__init__.pyc
+${PYSITELIB}/swh/loader/__init__.pyo
+${PYSITELIB}/swh/loader/npm/__init__.py
+${PYSITELIB}/swh/loader/npm/__init__.pyc
+${PYSITELIB}/swh/loader/npm/__init__.pyo
+${PYSITELIB}/swh/loader/npm/client.py
+${PYSITELIB}/swh/loader/npm/client.pyc
+${PYSITELIB}/swh/loader/npm/client.pyo
+${PYSITELIB}/swh/loader/npm/loader.py
+${PYSITELIB}/swh/loader/npm/loader.pyc
+${PYSITELIB}/swh/loader/npm/loader.pyo
+${PYSITELIB}/swh/loader/npm/tasks.py
+${PYSITELIB}/swh/loader/npm/tasks.pyc
+${PYSITELIB}/swh/loader/npm/tasks.pyo
+${PYSITELIB}/swh/loader/npm/tests/__init__.py
+${PYSITELIB}/swh/loader/npm/tests/__init__.pyc
+${PYSITELIB}/swh/loader/npm/tests/__init__.pyo
+${PYSITELIB}/swh/loader/npm/tests/common.py
+${PYSITELIB}/swh/loader/npm/tests/common.pyc
+${PYSITELIB}/swh/loader/npm/tests/common.pyo
+${PYSITELIB}/swh/loader/npm/tests/resources/0b_metadata.json
+${PYSITELIB}/swh/loader/npm/tests/resources/22u-validators_metadata.json
+${PYSITELIB}/swh/loader/npm/tests/resources/org_metadata_visit1.json
+${PYSITELIB}/swh/loader/npm/tests/resources/org_metadata_visit2.json
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/0b-1.0.0.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.0.2.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.0.3.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.0.4.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.0.5.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.1.0.tgz
+${PYSITELIB}/swh/loader/npm/tests/resources/tarballs/org-0.2.0.tgz
+${PYSITELIB}/swh/loader/npm/tests/test_client.py
+${PYSITELIB}/swh/loader/npm/tests/test_client.pyc
+${PYSITELIB}/swh/loader/npm/tests/test_client.pyo
+${PYSITELIB}/swh/loader/npm/tests/test_loader.py
+${PYSITELIB}/swh/loader/npm/tests/test_loader.pyc
+${PYSITELIB}/swh/loader/npm/tests/test_loader.pyo
+${PYSITELIB}/swh/loader/npm/tests/test_utils.py
+${PYSITELIB}/swh/loader/npm/tests/test_utils.pyc
+${PYSITELIB}/swh/loader/npm/tests/test_utils.pyo
+${PYSITELIB}/swh/loader/npm/utils.py
+${PYSITELIB}/swh/loader/npm/utils.pyc
+${PYSITELIB}/swh/loader/npm/utils.pyo
diff --git a/py-swh-loader-npm/distinfo b/py-swh-loader-npm/distinfo
new file mode 100644
index 0000000000..a89e0c488b
--- /dev/null
+++ b/py-swh-loader-npm/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (swh.loader.npm-0.0.7.tar.gz) = 00b001f1ac9365e7b9bbab3a7a40d8d8384362db
+RMD160 (swh.loader.npm-0.0.7.tar.gz) = 01ed6e23c5a89f6d83e11ead2ad2f04dbd98b965
+SHA512 (swh.loader.npm-0.0.7.tar.gz) = 295d659533e64511e0d0045c6f6321e8fde7b88c6a37ab4d74a3cde321f0c630d5a5175cd5fe4438a70638f6f381ef5c6bfc18fdf8bacf6821cbf4d7c23f5333
+Size (swh.loader.npm-0.0.7.tar.gz) = 164509 bytes
Home |
Main Index |
Thread Index |
Old Index