diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-04-09 16:28:59 +0300 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2021-05-25 16:55:44 +0300 |
commit | 5f69415313f894338dca54e21b5c3981e5e5f58f (patch) | |
tree | 936ed6c9018556107a7d166f0862aae19bf6c652 /databases/py-gdbm/Makefile | |
parent | Mk: add framework support for two digit python minor version (diff) |
Mk: switch from PYTHON_PORTVERSION to PYTHON_DISTVERSION
This brings python framework in consistense with handbook recommendations
to prefer DISTVERSION and simplifies adding prerelease versions of
python
PR: 255013
Differential Revision: https://reviews.freebsd.org/D29418
Exp-run by: antoine
Approved by: wen@, no objection from python@ or portmgr@
Diffstat (limited to 'databases/py-gdbm/Makefile')
-rw-r--r-- | databases/py-gdbm/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/databases/py-gdbm/Makefile b/databases/py-gdbm/Makefile index 5d53725c9a1e..bd024726a8ff 100644 --- a/databases/py-gdbm/Makefile +++ b/databases/py-gdbm/Makefile @@ -1,12 +1,12 @@ # Created by: Thomas Gellekum <tg@FreeBSD.org> PORTNAME= gdbm -PORTVERSION= ${PYTHON_PORTVERSION} +DISTVERSION= ${PYTHON_DISTVERSION} PORTREVISION= 6 CATEGORIES= databases python -MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} +MASTER_SITES= PYTHON/ftp/python/${DISTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Python-${PORTVERSION} +DISTNAME= Python-${DISTVERSION} MAINTAINER= python@FreeBSD.org COMMENT= Python bindings to the GNU dbm library (Python ${PYTHON_VER}) @@ -24,7 +24,7 @@ PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHONPREFIX_LIBDIR}/lib-dynload DIST_SUBDIR= python DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo -WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Modules +WRKSRC= ${WRKDIR}/Python-${DISTVERSION}/Modules post-extract: @${CP} ${FILESDIR}/setup3.py ${WRKSRC}/setup.py |