32 lines
585 B
Makefile
32 lines
585 B
Makefile
COMMENT = Python wrapper for Telegram tdlib
|
|
|
|
MODPY_EGG_VERSION = 0.15.0
|
|
|
|
DISTNAME = python-telegram-${MODPY_EGG_VERSION}
|
|
PKGNAME = ${DISTNAME:S/^python-/py-/}
|
|
REVISION = 1
|
|
|
|
CATEGORIES = net
|
|
|
|
HOMEPAGE = https://github.com/alexander-akhmetov/python-telegram
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR = python3
|
|
|
|
RUN_DEPENDS = devel/py-setuptools${MODPY_FLAVOR} \
|
|
net/tdlib
|
|
MODPY_PYTEST = No
|
|
|
|
# remove bundled binaries
|
|
post-install:
|
|
rm -rf ${PREFIX}/lib/python${MODPY_VERSION}/site-packages/telegram/lib
|
|
|
|
.include <bsd.port.mk>
|