Add chat/mautrix-hangouts

This commit is contained in:
js 2020-09-11 02:47:16 +00:00
parent 22a4821910
commit 2c4da8124b
5 changed files with 148 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.253 2020/09/11 01:59:05 js Exp $
# $NetBSD: Makefile,v 1.254 2020/09/11 02:47:16 js Exp $
#
COMMENT= Communication programs
@ -76,6 +76,7 @@ SUBDIR+= loudmouth
SUBDIR+= lurch-purple
SUBDIR+= matrix-synapse
SUBDIR+= matterircd
SUBDIR+= mautrix-hangouts
SUBDIR+= mcabber
SUBDIR+= meanwhile
SUBDIR+= miniircd

View file

@ -0,0 +1 @@
A Matrix-Hangouts puppeting bridge based on mautrix-python.

View file

@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.1 2020/09/11 02:47:16 js Exp $
PKGNAME= mautrix-hangouts-0.1.1
DISTNAME= v${PKGVERSION_NOREV}
GITHUB_PROJECT= mautrix-hangouts
GITHUB_TAG= v${PKGVERSION_NOREV}
EGG_NAME= mautrix_hangouts-${PKGVERSION_NOREV}+dev.unknown
CATEGORIES= chat python
MASTER_SITES= ${MASTER_SITE_GITHUB:=tulir/}
DIST_SUBDIR= ${GITHUB_PROJECT}
MAINTAINER= js@pkgsrc.org
HOMEPAGE= https://github.com/tulir/mautrix-hangouts
COMMENT= Matrix-Hangouts puppeting bridge
LICENSE= gnu-agpl-v3
DEPENDS+= ${PYPKGPREFIX}-aiohttp>=3<4:../../www/py-aiohttp
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=1.2<2:../../databases/py-sqlalchemy
DEPENDS+= ${PYPKGPREFIX}-alembic>=1<2:../../databases/py-alembic
DEPENDS+= ${PYPKGPREFIX}-ruamel-yaml>=0.15.94<0.17:../../devel/py-ruamel-yaml
DEPENDS+= ${PYPKGPREFIX}-commonmark>=0.8<0.10:../../textproc/py-commonmark
DEPENDS+= ${PYPKGPREFIX}-magic>=0.4<0.5:../../sysutils/py-magic
DEPENDS+= ${PYPKGPREFIX}-tulir-hangups>=0.4.12<0.5:../../chat/py-tulir-hangups
DEPENDS+= ${PYPKGPREFIX}-mautrix>=0.7<0.8:../../chat/py-mautrix
WRKSRC= ${WRKDIR}/mautrix-hangouts-${PKGVERSION_NOREV}
USE_TOOLS+= pax
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
INSTALLATION_DIRS+= share/mautrix-hangouts
post-install:
mv ${DESTDIR}${PREFIX}/alembic ${DESTDIR}${PREFIX}/alembic.ini \
${DESTDIR}${PREFIX}/share/mautrix-hangouts/
cd ${DESTDIR}${PREFIX}/${PYSITELIB}/mautrix_hangouts && \
${PAX} -wr example-config.yaml \
${DESTDIR}${PREFIX}/share/mautrix-hangouts/
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,97 @@
@comment $NetBSD: PLIST,v 1.1 2020/09/11 02:47:16 js Exp $
bin/mautrix-hangouts
${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}/mautrix_hangouts/__init__.py
${PYSITELIB}/mautrix_hangouts/__init__.pyc
${PYSITELIB}/mautrix_hangouts/__init__.pyo
${PYSITELIB}/mautrix_hangouts/__main__.py
${PYSITELIB}/mautrix_hangouts/__main__.pyc
${PYSITELIB}/mautrix_hangouts/__main__.pyo
${PYSITELIB}/mautrix_hangouts/commands/__init__.py
${PYSITELIB}/mautrix_hangouts/commands/__init__.pyc
${PYSITELIB}/mautrix_hangouts/commands/__init__.pyo
${PYSITELIB}/mautrix_hangouts/commands/auth.py
${PYSITELIB}/mautrix_hangouts/commands/auth.pyc
${PYSITELIB}/mautrix_hangouts/commands/auth.pyo
${PYSITELIB}/mautrix_hangouts/commands/handler.py
${PYSITELIB}/mautrix_hangouts/commands/handler.pyc
${PYSITELIB}/mautrix_hangouts/commands/handler.pyo
${PYSITELIB}/mautrix_hangouts/config.py
${PYSITELIB}/mautrix_hangouts/config.pyc
${PYSITELIB}/mautrix_hangouts/config.pyo
${PYSITELIB}/mautrix_hangouts/context.py
${PYSITELIB}/mautrix_hangouts/context.pyc
${PYSITELIB}/mautrix_hangouts/context.pyo
${PYSITELIB}/mautrix_hangouts/db/__init__.py
${PYSITELIB}/mautrix_hangouts/db/__init__.pyc
${PYSITELIB}/mautrix_hangouts/db/__init__.pyo
${PYSITELIB}/mautrix_hangouts/db/message.py
${PYSITELIB}/mautrix_hangouts/db/message.pyc
${PYSITELIB}/mautrix_hangouts/db/message.pyo
${PYSITELIB}/mautrix_hangouts/db/portal.py
${PYSITELIB}/mautrix_hangouts/db/portal.pyc
${PYSITELIB}/mautrix_hangouts/db/portal.pyo
${PYSITELIB}/mautrix_hangouts/db/puppet.py
${PYSITELIB}/mautrix_hangouts/db/puppet.pyc
${PYSITELIB}/mautrix_hangouts/db/puppet.pyo
${PYSITELIB}/mautrix_hangouts/db/user.py
${PYSITELIB}/mautrix_hangouts/db/user.pyc
${PYSITELIB}/mautrix_hangouts/db/user.pyo
${PYSITELIB}/mautrix_hangouts/example-config.yaml
${PYSITELIB}/mautrix_hangouts/get_version.py
${PYSITELIB}/mautrix_hangouts/get_version.pyc
${PYSITELIB}/mautrix_hangouts/get_version.pyo
${PYSITELIB}/mautrix_hangouts/matrix.py
${PYSITELIB}/mautrix_hangouts/matrix.pyc
${PYSITELIB}/mautrix_hangouts/matrix.pyo
${PYSITELIB}/mautrix_hangouts/portal.py
${PYSITELIB}/mautrix_hangouts/portal.pyc
${PYSITELIB}/mautrix_hangouts/portal.pyo
${PYSITELIB}/mautrix_hangouts/puppet.py
${PYSITELIB}/mautrix_hangouts/puppet.pyc
${PYSITELIB}/mautrix_hangouts/puppet.pyo
${PYSITELIB}/mautrix_hangouts/user.py
${PYSITELIB}/mautrix_hangouts/user.pyc
${PYSITELIB}/mautrix_hangouts/user.pyo
${PYSITELIB}/mautrix_hangouts/util/__init__.py
${PYSITELIB}/mautrix_hangouts/util/__init__.pyc
${PYSITELIB}/mautrix_hangouts/util/__init__.pyo
${PYSITELIB}/mautrix_hangouts/util/color_log.py
${PYSITELIB}/mautrix_hangouts/util/color_log.pyc
${PYSITELIB}/mautrix_hangouts/util/color_log.pyo
${PYSITELIB}/mautrix_hangouts/util/hangups_try_auth.py
${PYSITELIB}/mautrix_hangouts/util/hangups_try_auth.pyc
${PYSITELIB}/mautrix_hangouts/util/hangups_try_auth.pyo
${PYSITELIB}/mautrix_hangouts/version.py
${PYSITELIB}/mautrix_hangouts/version.pyc
${PYSITELIB}/mautrix_hangouts/version.pyo
${PYSITELIB}/mautrix_hangouts/web/__init__.py
${PYSITELIB}/mautrix_hangouts/web/__init__.pyc
${PYSITELIB}/mautrix_hangouts/web/__init__.pyo
${PYSITELIB}/mautrix_hangouts/web/auth.py
${PYSITELIB}/mautrix_hangouts/web/auth.pyc
${PYSITELIB}/mautrix_hangouts/web/auth.pyo
${PYSITELIB}/mautrix_hangouts/web/static/favicon.png
${PYSITELIB}/mautrix_hangouts/web/static/loader.css
${PYSITELIB}/mautrix_hangouts/web/static/login-redirect.html
${PYSITELIB}/mautrix_hangouts/web/static/login.css
${PYSITELIB}/mautrix_hangouts/web/static/login.html
${PYSITELIB}/mautrix_hangouts/web/static/login.js
share/mautrix-hangouts/alembic.ini
share/mautrix-hangouts/alembic/env.py
share/mautrix-hangouts/alembic/versions/41712fc6d14b_add_user_portal_puppet_mappings_to_db.py
share/mautrix-hangouts/alembic/versions/4567a7c4de97_switch_to_mautrix_python_crypto.py
share/mautrix-hangouts/alembic/versions/63ea9db2aa00_add_receiver_and_index_fields_to_.py
share/mautrix-hangouts/alembic/versions/7d9a9a4d50d7_add_timestamp_to_messages.py
share/mautrix-hangouts/alembic/versions/ab5435bd192e_add_bridge_notice_room_column_for_users.py
share/mautrix-hangouts/alembic/versions/ba113d486f7f_store_custom_puppet_next_batch_in_.py
share/mautrix-hangouts/alembic/versions/bb5a68cd3f8e_store_encryption_state_event_in_db.py
share/mautrix-hangouts/alembic/versions/bfb775ce2cee_initial_revision.py
share/mautrix-hangouts/alembic/versions/c319c2ce8698_add_end_to_bridge_encryption_fields.py
share/mautrix-hangouts/alembic/versions/fb42f7a67a6b_add_receiver_field_to_portals.py
share/mautrix-hangouts/example-config.yaml

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/09/11 02:47:16 js Exp $
SHA1 (mautrix-hangouts/v0.1.1.tar.gz) = 1852c58d78abc671f5affce940e8cb858b82a694
RMD160 (mautrix-hangouts/v0.1.1.tar.gz) = 2b781701bc726fa1f5f168d0b676378224cc9a20
SHA512 (mautrix-hangouts/v0.1.1.tar.gz) = dd8e260edb1e22258de53fc86e4b198a3730e777fe6cb1afe7afc2ed2e347637fbf40e818770bbfd518cd024f2023f151636799356aedc7eb68a31e18e044ef8
Size (mautrix-hangouts/v0.1.1.tar.gz) = 82709 bytes