py-swh-storage-0.18.0 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-12 00:53:39 +01:00
parent 2c39e89c61
commit 3d971ccde4
4 changed files with 320 additions and 0 deletions

23
py-swh-storage/DESCR Normal file
View File

@ -0,0 +1,23 @@
TODO: Adjust the following lines from README.md
swh-storage
===========
Abstraction layer over the archive, allowing to access all stored source code
artifacts as well as their metadata.
See the
[documentation](https://docs.softwareheritage.org/devel/swh-storage/index.html)
for more details.
## Quick start
### Dependencies
Python tests for this module include tests that cannot be run without a local
Postgresql database, so you need the Postgresql server executable on your
machine (no need to have a running Postgresql server). They also expect a
cassandra server.
#### Debian-like host
...

31
py-swh-storage/Makefile Normal file
View File

@ -0,0 +1,31 @@
# $NetBSD$
DISTNAME= swh.storage-0.18.0
PKGNAME= ${PYPKGPREFIX}-swh-storage-0.18.0
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=s/swh.storage/}
MAINTAINER= kamelderouiche@yahoo.com
HOMEPAGE= https://forge.softwareheritage.org/diffusion/DSTO/
COMMENT= Software Heritage storage manager
LICENSE= gnu-gpl-v3
BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=4.1.2:../../devel/py-setuptools_scm
DEPENDS+= ${PYPKGPREFIX}-click>=7.1.2:../../devel/py-click
DEPENDS+= ${PYPKGPREFIX}-flask>=1.1.2:../../www/py-flask
#DEPENDS+= ${PYPKGPREFIX}-psycopg2>=0:../../databases/py-psycopg2
DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3.7.3:../../www/py-aiohttp
DEPENDS+= ${PYPKGPREFIX}-cassandra-driver>=3.15.1:../../databases/py-cassandra-driver
DEPENDS+= ${PYPKGPREFIX}-Deprecated>=1.2.7:../../devel/py-Deprecated
DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=3.7.4.3:../../devel/py-typing-extensions
DEPENDS+= ${PYPKGPREFIX}-mypy_extensions>=0.4.3:../../lang/py-mypy_extensions
DEPENDS+= ${PYPKGPREFIX}-iso8601>=0.1.13:../../time/py-iso8601
DEPENDS+= ${PYPKGPREFIX}-swh-core>=0.10.0:../../wip/py-swh-core
DEPENDS+= ${PYPKGPREFIX}-swh-model>=0.7.2:../../wip/py-swh-model
DEPENDS+= ${PYPKGPREFIX}-swh-objstorage>=0.2.2:../../wip/py-swh-objstorage
DEPENDS+= ${PYPKGPREFIX}-tenacity>=6.2.0:../../wip/py-tenacity
USE_LANGUAGES= # none
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

260
py-swh-storage/PLIST Normal file
View File

@ -0,0 +1,260 @@
@comment $NetBSD$
bin/swh-storage-add-dir
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.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/storage/__init__.py
${PYSITELIB}/swh/storage/__init__.pyc
${PYSITELIB}/swh/storage/__init__.pyo
${PYSITELIB}/swh/storage/algos/__init__.py
${PYSITELIB}/swh/storage/algos/__init__.pyc
${PYSITELIB}/swh/storage/algos/__init__.pyo
${PYSITELIB}/swh/storage/algos/diff.py
${PYSITELIB}/swh/storage/algos/diff.pyc
${PYSITELIB}/swh/storage/algos/diff.pyo
${PYSITELIB}/swh/storage/algos/dir_iterators.py
${PYSITELIB}/swh/storage/algos/dir_iterators.pyc
${PYSITELIB}/swh/storage/algos/dir_iterators.pyo
${PYSITELIB}/swh/storage/algos/origin.py
${PYSITELIB}/swh/storage/algos/origin.pyc
${PYSITELIB}/swh/storage/algos/origin.pyo
${PYSITELIB}/swh/storage/algos/revisions_walker.py
${PYSITELIB}/swh/storage/algos/revisions_walker.pyc
${PYSITELIB}/swh/storage/algos/revisions_walker.pyo
${PYSITELIB}/swh/storage/algos/snapshot.py
${PYSITELIB}/swh/storage/algos/snapshot.pyc
${PYSITELIB}/swh/storage/algos/snapshot.pyo
${PYSITELIB}/swh/storage/api/__init__.py
${PYSITELIB}/swh/storage/api/__init__.pyc
${PYSITELIB}/swh/storage/api/__init__.pyo
${PYSITELIB}/swh/storage/api/client.py
${PYSITELIB}/swh/storage/api/client.pyc
${PYSITELIB}/swh/storage/api/client.pyo
${PYSITELIB}/swh/storage/api/serializers.py
${PYSITELIB}/swh/storage/api/serializers.pyc
${PYSITELIB}/swh/storage/api/serializers.pyo
${PYSITELIB}/swh/storage/api/server.py
${PYSITELIB}/swh/storage/api/server.pyc
${PYSITELIB}/swh/storage/api/server.pyo
${PYSITELIB}/swh/storage/backfill.py
${PYSITELIB}/swh/storage/backfill.pyc
${PYSITELIB}/swh/storage/backfill.pyo
${PYSITELIB}/swh/storage/buffer.py
${PYSITELIB}/swh/storage/buffer.pyc
${PYSITELIB}/swh/storage/buffer.pyo
${PYSITELIB}/swh/storage/cassandra/__init__.py
${PYSITELIB}/swh/storage/cassandra/__init__.pyc
${PYSITELIB}/swh/storage/cassandra/__init__.pyo
${PYSITELIB}/swh/storage/cassandra/common.py
${PYSITELIB}/swh/storage/cassandra/common.pyc
${PYSITELIB}/swh/storage/cassandra/common.pyo
${PYSITELIB}/swh/storage/cassandra/converters.py
${PYSITELIB}/swh/storage/cassandra/converters.pyc
${PYSITELIB}/swh/storage/cassandra/converters.pyo
${PYSITELIB}/swh/storage/cassandra/cql.py
${PYSITELIB}/swh/storage/cassandra/cql.pyc
${PYSITELIB}/swh/storage/cassandra/cql.pyo
${PYSITELIB}/swh/storage/cassandra/model.py
${PYSITELIB}/swh/storage/cassandra/model.pyc
${PYSITELIB}/swh/storage/cassandra/model.pyo
${PYSITELIB}/swh/storage/cassandra/schema.py
${PYSITELIB}/swh/storage/cassandra/schema.pyc
${PYSITELIB}/swh/storage/cassandra/schema.pyo
${PYSITELIB}/swh/storage/cassandra/storage.py
${PYSITELIB}/swh/storage/cassandra/storage.pyc
${PYSITELIB}/swh/storage/cassandra/storage.pyo
${PYSITELIB}/swh/storage/cli.py
${PYSITELIB}/swh/storage/cli.pyc
${PYSITELIB}/swh/storage/cli.pyo
${PYSITELIB}/swh/storage/common.py
${PYSITELIB}/swh/storage/common.pyc
${PYSITELIB}/swh/storage/common.pyo
${PYSITELIB}/swh/storage/exc.py
${PYSITELIB}/swh/storage/exc.pyc
${PYSITELIB}/swh/storage/exc.pyo
${PYSITELIB}/swh/storage/filter.py
${PYSITELIB}/swh/storage/filter.pyc
${PYSITELIB}/swh/storage/filter.pyo
${PYSITELIB}/swh/storage/fixer.py
${PYSITELIB}/swh/storage/fixer.pyc
${PYSITELIB}/swh/storage/fixer.pyo
${PYSITELIB}/swh/storage/in_memory.py
${PYSITELIB}/swh/storage/in_memory.pyc
${PYSITELIB}/swh/storage/in_memory.pyo
${PYSITELIB}/swh/storage/interface.py
${PYSITELIB}/swh/storage/interface.pyc
${PYSITELIB}/swh/storage/interface.pyo
${PYSITELIB}/swh/storage/metrics.py
${PYSITELIB}/swh/storage/metrics.pyc
${PYSITELIB}/swh/storage/metrics.pyo
${PYSITELIB}/swh/storage/migrate_extrinsic_metadata.py
${PYSITELIB}/swh/storage/migrate_extrinsic_metadata.pyc
${PYSITELIB}/swh/storage/migrate_extrinsic_metadata.pyo
${PYSITELIB}/swh/storage/objstorage.py
${PYSITELIB}/swh/storage/objstorage.pyc
${PYSITELIB}/swh/storage/objstorage.pyo
${PYSITELIB}/swh/storage/postgresql/__init__.py
${PYSITELIB}/swh/storage/postgresql/__init__.pyc
${PYSITELIB}/swh/storage/postgresql/__init__.pyo
${PYSITELIB}/swh/storage/postgresql/converters.py
${PYSITELIB}/swh/storage/postgresql/converters.pyc
${PYSITELIB}/swh/storage/postgresql/converters.pyo
${PYSITELIB}/swh/storage/postgresql/db.py
${PYSITELIB}/swh/storage/postgresql/db.pyc
${PYSITELIB}/swh/storage/postgresql/db.pyo
${PYSITELIB}/swh/storage/postgresql/storage.py
${PYSITELIB}/swh/storage/postgresql/storage.pyc
${PYSITELIB}/swh/storage/postgresql/storage.pyo
${PYSITELIB}/swh/storage/py.typed
${PYSITELIB}/swh/storage/pytest_plugin.py
${PYSITELIB}/swh/storage/pytest_plugin.pyc
${PYSITELIB}/swh/storage/pytest_plugin.pyo
${PYSITELIB}/swh/storage/replay.py
${PYSITELIB}/swh/storage/replay.pyc
${PYSITELIB}/swh/storage/replay.pyo
${PYSITELIB}/swh/storage/retry.py
${PYSITELIB}/swh/storage/retry.pyc
${PYSITELIB}/swh/storage/retry.pyo
${PYSITELIB}/swh/storage/sql/10-superuser-init.sql
${PYSITELIB}/swh/storage/sql/15-flavor.sql
${PYSITELIB}/swh/storage/sql/20-enums.sql
${PYSITELIB}/swh/storage/sql/30-schema.sql
${PYSITELIB}/swh/storage/sql/40-funcs.sql
${PYSITELIB}/swh/storage/sql/60-indexes.sql
${PYSITELIB}/swh/storage/sql/logical_replication/replication_source.sql
${PYSITELIB}/swh/storage/tests/__init__.py
${PYSITELIB}/swh/storage/tests/__init__.pyc
${PYSITELIB}/swh/storage/tests/__init__.pyo
${PYSITELIB}/swh/storage/tests/algos/__init__.py
${PYSITELIB}/swh/storage/tests/algos/__init__.pyc
${PYSITELIB}/swh/storage/tests/algos/__init__.pyo
${PYSITELIB}/swh/storage/tests/algos/test_diff.py
${PYSITELIB}/swh/storage/tests/algos/test_diff.pyc
${PYSITELIB}/swh/storage/tests/algos/test_diff.pyo
${PYSITELIB}/swh/storage/tests/algos/test_dir_iterator.py
${PYSITELIB}/swh/storage/tests/algos/test_dir_iterator.pyc
${PYSITELIB}/swh/storage/tests/algos/test_dir_iterator.pyo
${PYSITELIB}/swh/storage/tests/algos/test_origin.py
${PYSITELIB}/swh/storage/tests/algos/test_origin.pyc
${PYSITELIB}/swh/storage/tests/algos/test_origin.pyo
${PYSITELIB}/swh/storage/tests/algos/test_revisions_walker.py
${PYSITELIB}/swh/storage/tests/algos/test_revisions_walker.pyc
${PYSITELIB}/swh/storage/tests/algos/test_revisions_walker.pyo
${PYSITELIB}/swh/storage/tests/algos/test_snapshot.py
${PYSITELIB}/swh/storage/tests/algos/test_snapshot.pyc
${PYSITELIB}/swh/storage/tests/algos/test_snapshot.pyo
${PYSITELIB}/swh/storage/tests/conftest.py
${PYSITELIB}/swh/storage/tests/conftest.pyc
${PYSITELIB}/swh/storage/tests/conftest.pyo
${PYSITELIB}/swh/storage/tests/data/storage.yml
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_cran.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_cran.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_cran.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_debian.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_debian.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_debian.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_deposit.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_deposit.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_deposit.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_gnu.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_gnu.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_gnu.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_nixguix.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_nixguix.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_nixguix.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_npm.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_npm.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_npm.pyo
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_pypi.py
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_pypi.pyc
${PYSITELIB}/swh/storage/tests/migrate_extrinsic_metadata/test_pypi.pyo
${PYSITELIB}/swh/storage/tests/storage_data.py
${PYSITELIB}/swh/storage/tests/storage_data.pyc
${PYSITELIB}/swh/storage/tests/storage_data.pyo
${PYSITELIB}/swh/storage/tests/storage_tests.py
${PYSITELIB}/swh/storage/tests/storage_tests.pyc
${PYSITELIB}/swh/storage/tests/storage_tests.pyo
${PYSITELIB}/swh/storage/tests/test_api_client.py
${PYSITELIB}/swh/storage/tests/test_api_client.pyc
${PYSITELIB}/swh/storage/tests/test_api_client.pyo
${PYSITELIB}/swh/storage/tests/test_backfill.py
${PYSITELIB}/swh/storage/tests/test_backfill.pyc
${PYSITELIB}/swh/storage/tests/test_backfill.pyo
${PYSITELIB}/swh/storage/tests/test_buffer.py
${PYSITELIB}/swh/storage/tests/test_buffer.pyc
${PYSITELIB}/swh/storage/tests/test_buffer.pyo
${PYSITELIB}/swh/storage/tests/test_cassandra.py
${PYSITELIB}/swh/storage/tests/test_cassandra.pyc
${PYSITELIB}/swh/storage/tests/test_cassandra.pyo
${PYSITELIB}/swh/storage/tests/test_cassandra_converters.py
${PYSITELIB}/swh/storage/tests/test_cassandra_converters.pyc
${PYSITELIB}/swh/storage/tests/test_cassandra_converters.pyo
${PYSITELIB}/swh/storage/tests/test_cli.py
${PYSITELIB}/swh/storage/tests/test_cli.pyc
${PYSITELIB}/swh/storage/tests/test_cli.pyo
${PYSITELIB}/swh/storage/tests/test_exception.py
${PYSITELIB}/swh/storage/tests/test_exception.pyc
${PYSITELIB}/swh/storage/tests/test_exception.pyo
${PYSITELIB}/swh/storage/tests/test_filter.py
${PYSITELIB}/swh/storage/tests/test_filter.pyc
${PYSITELIB}/swh/storage/tests/test_filter.pyo
${PYSITELIB}/swh/storage/tests/test_in_memory.py
${PYSITELIB}/swh/storage/tests/test_in_memory.pyc
${PYSITELIB}/swh/storage/tests/test_in_memory.pyo
${PYSITELIB}/swh/storage/tests/test_init.py
${PYSITELIB}/swh/storage/tests/test_init.pyc
${PYSITELIB}/swh/storage/tests/test_init.pyo
${PYSITELIB}/swh/storage/tests/test_kafka_writer.py
${PYSITELIB}/swh/storage/tests/test_kafka_writer.pyc
${PYSITELIB}/swh/storage/tests/test_kafka_writer.pyo
${PYSITELIB}/swh/storage/tests/test_metrics.py
${PYSITELIB}/swh/storage/tests/test_metrics.pyc
${PYSITELIB}/swh/storage/tests/test_metrics.pyo
${PYSITELIB}/swh/storage/tests/test_postgresql.py
${PYSITELIB}/swh/storage/tests/test_postgresql.pyc
${PYSITELIB}/swh/storage/tests/test_postgresql.pyo
${PYSITELIB}/swh/storage/tests/test_postgresql_converters.py
${PYSITELIB}/swh/storage/tests/test_postgresql_converters.pyc
${PYSITELIB}/swh/storage/tests/test_postgresql_converters.pyo
${PYSITELIB}/swh/storage/tests/test_pytest_plugin.py
${PYSITELIB}/swh/storage/tests/test_pytest_plugin.pyc
${PYSITELIB}/swh/storage/tests/test_pytest_plugin.pyo
${PYSITELIB}/swh/storage/tests/test_replay.py
${PYSITELIB}/swh/storage/tests/test_replay.pyc
${PYSITELIB}/swh/storage/tests/test_replay.pyo
${PYSITELIB}/swh/storage/tests/test_retry.py
${PYSITELIB}/swh/storage/tests/test_retry.pyc
${PYSITELIB}/swh/storage/tests/test_retry.pyo
${PYSITELIB}/swh/storage/tests/test_revision_bw_compat.py
${PYSITELIB}/swh/storage/tests/test_revision_bw_compat.pyc
${PYSITELIB}/swh/storage/tests/test_revision_bw_compat.pyo
${PYSITELIB}/swh/storage/tests/test_serializers.py
${PYSITELIB}/swh/storage/tests/test_serializers.pyc
${PYSITELIB}/swh/storage/tests/test_serializers.pyo
${PYSITELIB}/swh/storage/tests/test_server.py
${PYSITELIB}/swh/storage/tests/test_server.pyc
${PYSITELIB}/swh/storage/tests/test_server.pyo
${PYSITELIB}/swh/storage/tests/test_storage_data.py
${PYSITELIB}/swh/storage/tests/test_storage_data.pyc
${PYSITELIB}/swh/storage/tests/test_storage_data.pyo
${PYSITELIB}/swh/storage/tests/test_utils.py
${PYSITELIB}/swh/storage/tests/test_utils.pyc
${PYSITELIB}/swh/storage/tests/test_utils.pyo
${PYSITELIB}/swh/storage/tests/test_validate.py
${PYSITELIB}/swh/storage/tests/test_validate.pyc
${PYSITELIB}/swh/storage/tests/test_validate.pyo
${PYSITELIB}/swh/storage/utils.py
${PYSITELIB}/swh/storage/utils.pyc
${PYSITELIB}/swh/storage/utils.pyo
${PYSITELIB}/swh/storage/validate.py
${PYSITELIB}/swh/storage/validate.pyc
${PYSITELIB}/swh/storage/validate.pyo
${PYSITELIB}/swh/storage/writer.py
${PYSITELIB}/swh/storage/writer.pyc
${PYSITELIB}/swh/storage/writer.pyo

6
py-swh-storage/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (swh.storage-0.18.0.tar.gz) = 5c037afbfeb0ea86ecf087552662abb88a59ca11
RMD160 (swh.storage-0.18.0.tar.gz) = a1ecf6e305e9bb61f9d802d5ae56053ee6f42f1a
SHA512 (swh.storage-0.18.0.tar.gz) = a00130fe7c336d8d48c8d966f4eb0a36eb5b645664739a03679dbae158aa98959efcc2fdbf030dabc0567dc7601334b280c45845ff8290312ec35f05afda13dc
Size (swh.storage-0.18.0.tar.gz) = 277955 bytes