py-sybase: convert to egg.mk

This commit is contained in:
wiz 2022-01-22 15:39:56 +00:00
parent 6f43fb0c76
commit bdfaa41b4a
2 changed files with 6 additions and 6 deletions

View file

@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.47 2021/12/08 16:03:49 adam Exp $ # $NetBSD: Makefile,v 1.48 2022/01/22 15:39:56 wiz Exp $
DISTNAME= sybase-0.36 DISTNAME= sybase-0.36
PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 20 PKGREVISION= 21
CATEGORIES= databases python CATEGORIES= databases python
MASTER_SITES= http://object-craft.com.au/projects/sybase/download/ MASTER_SITES= http://object-craft.com.au/projects/sybase/download/
@ -11,7 +11,6 @@ HOMEPAGE= https://www.object-craft.com.au/projects/sybase/
COMMENT= Sybase interface for Python using FreeTDS COMMENT= Sybase interface for Python using FreeTDS
PYSETUPBUILDARGS= build_ext -D HAVE_FREETDS=61 -U WANT_BULKCOPY PYSETUPBUILDARGS= build_ext -D HAVE_FREETDS=61 -U WANT_BULKCOPY
PYDISTUTILSPKG= yes
SYBASE= ${BUILDLINK_PREFIX.freetds} SYBASE= ${BUILDLINK_PREFIX.freetds}
MAKE_ENV+= SYBASE=${SYBASE:Q} MAKE_ENV+= SYBASE=${SYBASE:Q}
@ -25,5 +24,5 @@ SUBST_SED.sybase= -e "s|\\(runtime_library_dirs = \\)None|\\1['${SYBASE}/lib']|"
PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 0.36 PYTHON_VERSIONS_ACCEPTED= 27 # not yet ported as of 0.36
.include "../../databases/freetds/buildlink3.mk" .include "../../databases/freetds/buildlink3.mk"
.include "../../lang/python/extension.mk" .include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk" .include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,6 @@
@comment $NetBSD: PLIST,v 1.2 2003/09/14 16:43:48 recht Exp $ @comment $NetBSD: PLIST,v 1.3 2022/01/22 15:39:56 wiz Exp $
${PYSITELIB}/sybasect.so
${PYSITELIB}/Sybase.py ${PYSITELIB}/Sybase.py
${PYSITELIB}/Sybase.pyc ${PYSITELIB}/Sybase.pyc
${PYSITELIB}/Sybase.pyo ${PYSITELIB}/Sybase.pyo
${PYSITELIB}/${EGG_INFODIR}
${PYSITELIB}/sybasect.so