[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / chat / mautrix-telegram

File: [cvs.NetBSD.org] / pkgsrc / chat / mautrix-telegram / Makefile (download)

Revision 1.6, Tue Sep 14 20:01:48 2021 UTC (4 months ago) by js
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.5: +6 -6 lines

Update chat/mautrix-telegram to 0.10.1


v0.10.0-rc1

Deprecation warning

v0.10 is the last release that is guaranteed to support SQLite. A future release will likely switch away from SQLAlchemy and only support Postgres.

Added

  * Support for multiple pins from/to Telegram.
  * Option to resolve redirects when joining invite links, for people who use custom URLs as invite links (#559).
  * Command to update about section in Telegram profile info (#375, thanks to @MadhuranS in #599).
  * Own read marker/unread status from Telegram is now synced to Matrix after backfilling.
  * Support for showing the individual slots in slot_machine dice rolls from Telegram.

Improved

  * Improved invite link regex to allow joining with less precise invite links (#554, #555).
  * Invite links can be customized with the --uses=<amount> and --expire=<delta> flags for !tg invite-link.
  * Read receipts where the target message is unknown will now cause the chat to be marked as fully read instead of the read receipt event being ignored.
  * WebP stickers are now sent as-is without converting to png.
  * Default power levels in rooms now allow enabling encryption with PL 50 if e2be is enabled in config (#471, thanks to @Rafaeltheraven in #550).
  * Updated Docker image to Alpine 3.13 and removed all edge repo stuff.

Fixed

  * Matrix->Telegram location message bridging no longer flips the coordinates.
  * Fixed some user displaynames constantly changing between contact/non-contact names and other similar cases (#533)



v0.10.0

Deprecation warning

v0.10 is the last release that is guaranteed to support SQLite. A future release will likely switch away from SQLAlchemy and only support Postgres. See the docs for Postgres migration instructions.

Changes since v0.10.0-rc1

  * Added options to bridge archive, pin and mute status from Telegram to Matrix.
  * Added custom fields in Matrix events indicating Telegram gifs.
  * Allowed zero-width joiners in displaynames so things like multi-part emoji would work correctly.
  * Fixed Telegram->Matrix typing notifications.



v0.10.1

N.B. Docker images have moved from dock.mau.dev/tulir/mautrix-telegram to dock.mau.dev/mautrix/telegram. New versions are only available at the new path.
Added

  * Warning when bridging existing room if bridge bot doesn't have redaction permissions.
  * Custom flag to invite events that will be auto-accepted using double puppeting.
  * Custom flags for animated stickers (same as what gifs already had).

Improved

  * Updated to Telethon 1.22.
  * Updated Docker image to Alpine 3.14.

Fixed

  * Fixed Bridging Matrix location messages with additional flags in geo_uri.
  * Editing encrypted messages will no longer add an asterisk on Telegram (#623).
  * Matrix typing notifications won't be echoed back for double puppeted users anymore (#631).
  * AuthKeyDuplicatedError is now handled properly instead of making the user get stuck.
  * Fixed public_portals setting not being respected on room creation.

# $NetBSD: Makefile,v 1.6 2021/09/14 20:01:48 js Exp $

DISTNAME=	mautrix-telegram-0.10.1
CATEGORIES=	chat python
MASTER_SITES=	${MASTER_SITE_GITHUB:=tulir/}
GITHUB_TAG=	v${PKGVERSION_NOREV}
WRKSRC=		${WRKDIR}/telegram-${PKGVERSION_NOREV}

MAINTAINER=	js@pkgsrc.org
HOMEPAGE=	https://github.com/tulir/mautrix-telegram
COMMENT=	Matrix-Telegram hybrid puppeting/relaybot bridge
LICENSE=	gnu-agpl-v3

# pytest-runner
TOOL_DEPENDS+=	${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner

DEPENDS+=	${PYPKGPREFIX}-sqlalchemy>=1.2<2:../../databases/py-sqlalchemy
DEPENDS+=	${PYPKGPREFIX}-alembic>=1<2:../../databases/py-alembic
DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml>=0.15.35:../../devel/py-ruamel-yaml
DEPENDS+=	${PYPKGPREFIX}-magic>=0.4<0.5:../../sysutils/py-magic
DEPENDS+=	${PYPKGPREFIX}-commonmark>=0.8<0.10:../../textproc/py-commonmark
DEPENDS+=	${PYPKGPREFIX}-aiohttp>=3<4:../../www/py-aiohttp
DEPENDS+=	${PYPKGPREFIX}-yarl>=1<2:../../www/py-yarl
DEPENDS+=	${PYPKGPREFIX}-mautrix>=0.10.4<0.11:../../chat/py-mautrix
DEPENDS+=	${PYPKGPREFIX}-telethon>=1.22<24:../../chat/py-telethon
DEPENDS+=	${PYPKGPREFIX}-telethon-session-sqlalchemy>=0.2.14<0.3:../../chat/py-telethon-session-sqlalchemy
# webp_convert and qr_login
DEPENDS+=	${PYPKGPREFIX}-Pillow>=4<9:../../graphics/py-Pillow
# qr_login
DEPENDS+=	${PYPKGPREFIX}-qrcode>=6<7:../../graphics/py-qrcode

USE_TOOLS+=	pax
USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	27 36

EGG_NAME=	mautrix_telegram-${PKGVERSION_NOREV}+dev.unknown

INSTALLATION_DIRS+=	share/mautrix-telegram

post-install:
	mv ${DESTDIR}${PREFIX}/alembic ${DESTDIR}${PREFIX}/alembic.ini \
		${DESTDIR}${PREFIX}/example-config.yaml \
		${DESTDIR}${PREFIX}/share/mautrix-telegram/
	cd ${DESTDIR}${PREFIX}/${PYSITELIB}/mautrix_telegram && \
		${PAX} -wr example-config.yaml \
		${DESTDIR}${PREFIX}/share/mautrix-telegram/

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"