pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

python3: Wrapper linking current python3.x to python3 and python



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%abalone.acadix.biz@localhost>
Pushed By:	outpaddling
Date:		Sun Feb 13 19:20:27 2022 -0600
Changeset:	eca202dc48945575c7e208e8516ce55f92dc7a0c

Modified Files:
	Makefile
Added Files:
	python3/DESCR
	python3/Makefile
	python3/PLIST

Log Message:
python3: Wrapper linking current python3.x to python3 and python

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=eca202dc48945575c7e208e8516ce55f92dc7a0c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile         |  1 +
 python3/DESCR    | 18 ++++++++++++++++++
 python3/Makefile | 21 +++++++++++++++++++++
 python3/PLIST    |  3 +++
 4 files changed, 43 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index f910fc923c..d3f046e88b 100644
--- a/Makefile
+++ b/Makefile
@@ -4908,6 +4908,7 @@ SUBDIR+=	pypanel
 SUBDIR+=	pypod
 SUBDIR+=	pysite
 SUBDIR+=	pythia6
+SUBDIR+=	python3
 SUBDIR+=	pythoncad
 SUBDIR+=	pythontoolkit
 SUBDIR+=	pywm
diff --git a/python3/DESCR b/python3/DESCR
new file mode 100644
index 0000000000..c369faa274
--- /dev/null
+++ b/python3/DESCR
@@ -0,0 +1,18 @@
+Python is an interpreted, interactive, object-oriented
+programming language that combines remarkable power with
+very clear syntax. For an introduction to programming in
+Python you are referred to the Python Tutorial. The
+Python Library Reference documents built-in and standard
+types, constants, functions and modules. Finally, the
+Python Reference Manual describes the syntax and semantics
+of the core language in (perhaps too) much detail.
+
+Python's basic power can be extended with your own modules
+written in C or C++. On most systems such modules may be
+dynamically loaded. Python is also adaptable as an exten-
+sion language for existing applications. See the internal
+documentation for hints.
+
+This is a wrapper package for installing the default python 3
+version and links to bin/python3 and bin/python, for running
+python scripts not installed by pkgsrc, but using pkgsrc python.
diff --git a/python3/Makefile b/python3/Makefile
new file mode 100644
index 0000000000..a4d4fc05a1
--- /dev/null
+++ b/python3/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD$
+#
+
+PKGNAME=	python3-3
+CATEGORIES=	python meta-pkgs
+MASTER_SITES=	# empty
+
+MAINTAINER=	bacon%NetBSD.org@localhost
+COMMENT=	Wrapper linking current python3.x to python3 and python
+LICENSE=	python-software-foundation
+
+NO_BUILD=	YES
+
+INSTALLATION_DIRS=	bin
+
+do-install:
+	${LN} -s ${PYTHONBIN} ${DESTDIR}${PREFIX}/bin/python3
+	${LN} -s ${PYTHONBIN} ${DESTDIR}${PREFIX}/bin/python
+
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/python3/PLIST b/python3/PLIST
new file mode 100644
index 0000000000..9c68eb3036
--- /dev/null
+++ b/python3/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
+bin/python${PKGVERSION}
+bin/python


Home | Main Index | Thread Index | Old Index