[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.32

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

CVSweb <webmaster@jp.NetBSD.org>