[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / databases / py-peewee

Annotation of pkgsrc/databases/py-peewee/Makefile, Revision 1.21

1.21    ! fhajny      1: # $NetBSD: Makefile,v 1.20 2018/02/04 17:07:18 fhajny Exp $
1.1       fhajny      2:
1.21    ! fhajny      3: DISTNAME=      peewee-3.0.13
1.1       fhajny      4: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
                      5: CATEGORIES=    databases
1.5       fhajny      6: MASTER_SITES=  ${MASTER_SITE_GITHUB:=coleifer/}
1.1       fhajny      7:
                      8: MAINTAINER=    filip@joyent.com
                      9: HOMEPAGE=      http://www.peewee-orm.com/
                     10: COMMENT=       Small, expressive ORM for PostgreSQL, MySQL and SQLite
                     11: LICENSE=       mit
                     12:
1.5       fhajny     13: GITHUB_PROJECT=        peewee
                     14:
1.7       fhajny     15: USE_LANGUAGES= c
1.2       fhajny     16: USE_TOOLS+=    bash
1.1       fhajny     17:
1.15      fhajny     18: BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
                     19:
1.16      fhajny     20: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     21:
1.15      fhajny     22: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     23: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     24:
1.2       fhajny     25: REPLACE_BASH+=         playhouse/berkeley_build.sh
                     26: REPLACE_PYTHON+=       pwiz.py
                     27:
1.9       fhajny     28: PYDISTUTILSPKG=                yes
                     29:
1.15      fhajny     30: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     31:
                     32: post-build:
                     33:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     34:
                     35: post-install:
                     36:        ${MV} ${DESTDIR}${PREFIX}/bin/pwiz.py \
                     37:                ${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX}
                     38:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
                     39:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
                     40:
1.19      fhajny     41: do-test:
                     42:        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
                     43:
1.8       fhajny     44: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     45: .include "../../lang/python/application.mk"
1.9       fhajny     46: .include "../../lang/python/extension.mk"
1.1       fhajny     47: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>