052104b535
* Convert to GITHUB framework. Changelog: 1.3.21: Fixed installation issue @gnuman gnuman released this on 4 Mar With version v1.3.20, could not install folder zanatalib inside build/lib/zanataclient, fixed this issue in setup.py 1.3.20: Minor Bug fixes @gnuman gnuman released this on 25 Feb · 1 commit to master since this release Improved error message Test case fix Added language option in command, zanata push --push-type target --lang af 1.3.19: Fixed bug - 1194987 - NameError: global name 'project_type' is not defined @gnuman gnuman released this on 23 Feb · 9 commits to master since this release Bug 1194987 - NameError: global name 'project_type' is not defined Fix by Richard W.M. Jones(rjones@redhat.com),added self keyword project_type is member of class now,in previous versions it was a local member Fetching po files is a basic thing, hence build is needed
33 lines
1,020 B
Makefile
33 lines
1,020 B
Makefile
# $NetBSD: Makefile,v 1.5 2015/04/08 18:48:54 ryoon Exp $
|
|
|
|
DISTNAME= zanata-python-client-1.3.21
|
|
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
|
|
|
|
# TypeError: can't concat bytes to str
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 34 33
|
|
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"
|