mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
29 lines
549 B
Makefile
29 lines
549 B
Makefile
COMMENT = Python wrapper for Telegram tdlib
|
|
|
|
MODPY_DISTV = 0.19.0
|
|
|
|
DISTNAME = python_telegram-${MODPY_DISTV}
|
|
PKGNAME = py-telegram-${MODPY_DISTV}
|
|
REVISION = 1
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = https://github.com/alexander-akhmetov/python-telegram
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_PYBUILD = setuptools_scm
|
|
|
|
RUN_DEPENDS = net/tdlib/tdlib>=1.8.49p0 \
|
|
textproc/py-telegram-text
|
|
|
|
# remove bundled binaries
|
|
post-install:
|
|
rm -rf ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/telegram/lib
|
|
|
|
.include <bsd.port.mk>
|