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

1.40    ! fhajny      1: # $NetBSD: Makefile,v 1.39 2018/05/21 13:18:16 fhajny Exp $
1.1       fhajny      2:
1.40    ! fhajny      3: DISTNAME=      peewee-3.5.0
1.1       fhajny      4: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.36      fhajny      5: CATEGORIES=    databases python
                      6: MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
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.15      fhajny     15: BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
1.30      fhajny     16: TEST_DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
1.15      fhajny     17:
1.16      fhajny     18: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     19:
1.15      fhajny     20: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     21: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     22:
1.2       fhajny     23: REPLACE_PYTHON+=       pwiz.py
                     24:
1.9       fhajny     25: PYDISTUTILSPKG=                yes
                     26:
1.15      fhajny     27: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     28:
                     29: post-build:
                     30:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     31:
                     32: post-install:
                     33:        ${MV} ${DESTDIR}${PREFIX}/bin/pwiz.py \
                     34:                ${DESTDIR}${PREFIX}/bin/pwiz${PYVERSSUFFIX}
                     35:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
                     36:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
                     37:
1.19      fhajny     38: do-test:
                     39:        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
                     40:
1.31      fhajny     41: .include "../../databases/sqlite3/buildlink3.mk"
1.8       fhajny     42: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     43: .include "../../lang/python/application.mk"
1.9       fhajny     44: .include "../../lang/python/extension.mk"
1.1       fhajny     45: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>