From 5f69415313f894338dca54e21b5c3981e5e5f58f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 9 Apr 2021 16:28:59 +0300 Subject: 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@ --- databases/py-sqlite3/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'databases/py-sqlite3') diff --git a/databases/py-sqlite3/Makefile b/databases/py-sqlite3/Makefile index 1941d0609ef4..1f6125d10b0b 100644 --- a/databases/py-sqlite3/Makefile +++ b/databases/py-sqlite3/Makefile @@ -1,19 +1,19 @@ # Created by: Hye-Shik Chang PORTNAME= sqlite3 -PORTVERSION= ${PYTHON_PORTVERSION} +DISTVERSION= ${PYTHON_DISTVERSION} PORTREVISION= 7 CATEGORIES= databases python -MASTER_SITES= PYTHON/ftp/python/${PORTVERSION} +MASTER_SITES= PYTHON/ftp/python/${DISTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= Python-${PORTVERSION} +DISTNAME= Python-${DISTVERSION} DIST_SUBDIR= python MAINTAINER= python@FreeBSD.org COMMENT= Standard Python binding to the SQLite3 library (Python ${PYTHON_VER}) LICENSE= PSFL -LICENSE_FILE= ${WRKDIR}/Python-${PORTVERSION}/LICENSE +LICENSE_FILE= ${WRKDIR}/Python-${DISTVERSION}/LICENSE LIB_DEPENDS= libsqlite3.so:databases/sqlite3 @@ -23,7 +23,7 @@ USES= compiler:c11 python:2.7+ tar:xz USE_PYTHON= autoplist distutils allflavors DISTINFO_FILE= ${PORTSDIR}/lang/python${PYTHON_SUFFIX}/distinfo -WRKSRC= ${WRKDIR}/Python-${PORTVERSION}/Modules +WRKSRC= ${WRKDIR}/Python-${DISTVERSION}/Modules PYDISTUTILS_INSTALLARGS+= --install-lib ${PYTHON_LIBDIR}/lib-dynload -- cgit v1.2.3