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