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

1.48    ! wiz         1: # $NetBSD: Makefile,v 1.47 2018/12/09 18:52:20 adam Exp $
1.1       fhajny      2:
1.45      adam        3: DISTNAME=      peewee-3.7.1
1.1       fhajny      4: PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
1.47      adam        5: PKGREVISION=   1
1.36      fhajny      6: CATEGORIES=    databases python
                      7: MASTER_SITES=  ${MASTER_SITE_PYPI:=p/peewee/}
1.1       fhajny      8:
1.48    ! wiz         9: MAINTAINER=    fhajny@NetBSD.org
1.1       fhajny     10: HOMEPAGE=      http://www.peewee-orm.com/
                     11: COMMENT=       Small, expressive ORM for PostgreSQL, MySQL and SQLite
                     12: LICENSE=       mit
                     13:
1.15      fhajny     14: BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
1.43      adam       15: #TEST_DEPENDS+=        ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
1.15      fhajny     16:
1.16      fhajny     17: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     18:
1.15      fhajny     19: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     20: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     21:
1.2       fhajny     22: REPLACE_PYTHON+=       pwiz.py
                     23:
1.46      jperkin    24: SUBST_CLASSES+=                lpath
                     25: SUBST_STAGE.lpath=     pre-configure
                     26: SUBST_FILES.lpath=     setup.py
                     27: SUBST_VARS.lpath=      BUILDLINK_PREFIX.sqlite3
                     28:
1.15      fhajny     29: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     30:
                     31: post-build:
                     32:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     33:
                     34: post-install:
1.41      adam       35:        cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz${PYVERSSUFFIX} || ${TRUE}
1.15      fhajny     36:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
                     37:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
                     38:
1.44      adam       39: # tests are not included in 3.7.0
1.19      fhajny     40: do-test:
1.44      adam       41:        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
1.19      fhajny     42:
1.31      fhajny     43: .include "../../databases/sqlite3/buildlink3.mk"
1.8       fhajny     44: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     45: .include "../../lang/python/application.mk"
1.43      adam       46: .include "../../lang/python/egg.mk"
1.1       fhajny     47: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>