db29b83a6e
Changelog: * Thu Apr 14 2016 Sundeep Anand <suanand@redhat.com> - 1.5.0 - ZNTA-946 - zanata push StringIO fix - ZNTA-303 - podir projects handling - ZNTA-936 - redirection 301, 302 handling - ZNTA-934 - java-client compatible zanata.xml - ZNTA-927 - Project Status and Versions - ZNTA-929 - zanata-python-client failed to retrieve version in non-git environment - Bug 1139950 - Flexible Translation file naming
34 lines
1 KiB
Makefile
34 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2016/08/18 12:46:32 ryoon Exp $
|
|
|
|
DISTNAME= zanata-python-client-1.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=zanata/}
|
|
GITHUB_PROJECT= zanata-python-client
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= http://zanata.org/
|
|
COMMENT= Zanata translation service client written in Python
|
|
LICENSE= gnu-gpl-v3 AND gnu-lgpl-v2.1
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
|
|
DEPENDS+= ${PYPKGPREFIX}-polib-[0-9]*:../../devel/py-polib
|
|
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
|
|
|
|
# Marked for 2.6 and 2.7 only
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 35
|
|
USE_LANGUAGES= # none
|
|
|
|
SUBST_CLASSES+= version
|
|
SUBST_STAGE.version= pre-configure
|
|
SUBST_MESSAGE.version= Setting version
|
|
SUBST_FILES.version+= VERSION-GEN
|
|
SUBST_VARS.version+= PKGVERSION_NOREV
|
|
|
|
# Generate version file to avoid runtime error.
|
|
pre-configure:
|
|
cd ${WRKSRC}/zanataclient && ${SH} ../VERSION-GEN > VERSION-FILE
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|