pkgsrc-WIP-changes archive

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

syncstorage-rs: install less python files



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Jun 13 13:50:11 2024 +0200
Changeset:	c2606c52fec6d191038c8f81287439a5e74622af

Modified Files:
	syncstorage-rs/Makefile
	syncstorage-rs/PLIST

Log Message:
syncstorage-rs: install less python files

These tools are only needed in rare situations according to upstream.

Bump PKGREVISION.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=c2606c52fec6d191038c8f81287439a5e74622af

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 syncstorage-rs/Makefile | 24 +++++++++++++-----------
 syncstorage-rs/PLIST    | 17 -----------------
 2 files changed, 13 insertions(+), 28 deletions(-)

diffs:
diff --git a/syncstorage-rs/Makefile b/syncstorage-rs/Makefile
index cd657730e0..c67b10aaba 100644
--- a/syncstorage-rs/Makefile
+++ b/syncstorage-rs/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 DISTNAME=	syncstorage-rs-0.15.9
-PKGREVISION=	1
+PKGREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GITHUB:=mozilla-services/}
 
@@ -14,17 +14,19 @@ TOOL_DEPENDS+=	cmake-[0-9]*:../../devel/cmake
 DEPENDS+=	${PYPKGPREFIX}-cryptography-[0-9]*:../../security/py-cryptography
 DEPENDS+=	${PYPKGPREFIX}-FxA-[0-9]*:../../www/py-FxA
 DEPENDS+=	${PYPKGPREFIX}-tokenlib-[0-9]*:../../security/py-tokenlib
-# for tokenserver
+# for tokenserver tools
+# not needed in most installations, see
+# https://github.com/mozilla-services/syncstorage-rs/issues/1569
 #DEPENDS+=	${PYPKGPREFIX}-boto>=2.49.0:../../net/py-boto
-DEPENDS+=	${PYPKGPREFIX}-hawkauthlib>=2.0.0:../../security/py-hawkauthlib
-DEPENDS+=	${PYPKGPREFIX}-mysqlclient>=2.1.1:../../databases/py-mysqlclient
-DEPENDS+=	${PYPKGPREFIX}-pyramid>=2.0.1:../../wip/py-pyramid
-DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=1.4.46:../../databases/py-sqlalchemy
-DEPENDS+=	${PYPKGPREFIX}-testfixtures>=0:../../wip/py-testfixtures
-DEPENDS+=	${PYPKGPREFIX}-tokenlib>=2.0.0:../../security/py-tokenlib
-DEPENDS+=	${PYPKGPREFIX}-BrowserID>=0.14.0:../../www/py-BrowserID
+#DEPENDS+=	${PYPKGPREFIX}-hawkauthlib>=2.0.0:../../security/py-hawkauthlib
+#DEPENDS+=	${PYPKGPREFIX}-mysqlclient>=2.1.1:../../databases/py-mysqlclient
+#DEPENDS+=	${PYPKGPREFIX}-pyramid>=2.0.1:../../wip/py-pyramid
+#DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=1.4.46:../../databases/py-sqlalchemy
+#DEPENDS+=	${PYPKGPREFIX}-testfixtures>=0:../../wip/py-testfixtures
+#DEPENDS+=	${PYPKGPREFIX}-tokenlib>=2.0.0:../../security/py-tokenlib
+#DEPENDS+=	${PYPKGPREFIX}-BrowserID>=0.14.0:../../www/py-BrowserID
 
-CARGO_ARGS+=	build --release ${DEFAULT_CARGO_ARGS} --no-default-features --features=syncstorage-db/mysql
+#CARGO_ARGS+=	build --release ${DEFAULT_CARGO_ARGS} --no-default-features --features=syncstorage-db/mysql,tokenserver-auth/py
 
 .include "cargo-depends.mk"
 
@@ -53,7 +55,7 @@ do-install:
 	${INSTALL_DATA} ${FILESDIR}/setup.md ${DESTDIR}${PREFIX}/share/doc/syncstorage-rs
 	${INSTALL_DATA} ${WRKSRC}/docs/config.md ${DESTDIR}${PREFIX}/share/doc/syncstorage-rs
 	${INSTALL_DATA} ${WRKSRC}/config/local.example.toml ${DESTDIR}${PREFIX}/share/examples/syncstorage-rs
-	${INSTALL_SCRIPT} ${WRKSRC}/tools/tokenserver/*.* ${DESTDIR}${PREFIX}/lib/tokenserver
+#	${INSTALL_SCRIPT} ${WRKSRC}/tools/tokenserver/*.* ${DESTDIR}${PREFIX}/lib/tokenserver
 
 .include "../../lang/rust/cargo.mk"
 .include "../../security/openssl/buildlink3.mk"
diff --git a/syncstorage-rs/PLIST b/syncstorage-rs/PLIST
index 459ba3e9a6..d61c74217e 100644
--- a/syncstorage-rs/PLIST
+++ b/syncstorage-rs/PLIST
@@ -1,22 +1,5 @@
 @comment $NetBSD$
 bin/syncserver
-lib/tokenserver/__init__.py
-lib/tokenserver/add_node.py
-lib/tokenserver/allocate_user.py
-lib/tokenserver/count_users.py
-lib/tokenserver/database.py
-lib/tokenserver/process_account_events.py
-lib/tokenserver/purge_old_records.py
-lib/tokenserver/remove_node.py
-lib/tokenserver/requirements.txt
-lib/tokenserver/run_tests.py
-lib/tokenserver/test_database.py
-lib/tokenserver/test_process_account_events.py
-lib/tokenserver/test_purge_old_records.py
-lib/tokenserver/test_scripts.py
-lib/tokenserver/unassign_node.py
-lib/tokenserver/update_node.py
-lib/tokenserver/util.py
 share/doc/syncstorage-rs/README.md
 share/doc/syncstorage-rs/config.md
 share/doc/syncstorage-rs/setup.md


Home | Main Index | Thread Index | Old Index