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

1.46    ! jperkin     1: # $NetBSD: Makefile,v 1.45 2018/10/07 08:42:24 adam Exp $
1.1       fhajny      2:
1.45      adam        3: DISTNAME=      peewee-3.7.1
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.15      fhajny     13: BUILD_DEPENDS+=        ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
1.43      adam       14: #TEST_DEPENDS+=        ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
1.15      fhajny     15:
1.16      fhajny     16: MAKE_FLAGS+=   SPHINXBUILD=sphinx-build${PYVERSSUFFIX}
                     17:
1.15      fhajny     18: FILES_SUBST+=  PKGMANDIR=${PKGMANDIR}
1.1       fhajny     19: MESSAGE_SUBST+=        PYPKGPREFIX=${PYPKGPREFIX}
                     20:
1.2       fhajny     21: REPLACE_PYTHON+=       pwiz.py
                     22:
1.46    ! jperkin    23: SUBST_CLASSES+=                lpath
        !            24: SUBST_STAGE.lpath=     pre-configure
        !            25: SUBST_FILES.lpath=     setup.py
        !            26: SUBST_VARS.lpath=      BUILDLINK_PREFIX.sqlite3
        !            27:
1.15      fhajny     28: INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
                     29:
                     30: post-build:
                     31:        cd ${WRKSRC}/docs && ${BUILD_MAKE_CMD} man
                     32:
                     33: post-install:
1.41      adam       34:        cd ${DESTDIR}${PREFIX}/bin && ${MV} pwiz.py pwiz${PYVERSSUFFIX} || ${TRUE}
1.15      fhajny     35:        ${INSTALL_MAN} ${WRKSRC}/docs/_build/man/peewee.1 \
                     36:                ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/peewee${PYVERSSUFFIX}.1
                     37:
1.44      adam       38: # tests are not included in 3.7.0
1.19      fhajny     39: do-test:
1.44      adam       40:        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} runtests.py
1.19      fhajny     41:
1.31      fhajny     42: .include "../../databases/sqlite3/buildlink3.mk"
1.8       fhajny     43: .include "../../devel/py-cython/buildlink3.mk"
1.2       fhajny     44: .include "../../lang/python/application.mk"
1.43      adam       45: .include "../../lang/python/egg.mk"
1.1       fhajny     46: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>