pkgsrc-WIP-changes archive

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

go-python-0.1.0 import to wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Tue Dec 29 01:52:47 2020 +0100
Changeset:	b9eef706d8dd0c0d4ae10982fbc05d3fc77a4621

Added Files:
	go-python/DESCR
	go-python/Makefile
	go-python/PLIST
	go-python/buildlink3.mk
	go-python/distinfo

Log Message:
go-python-0.1.0 import to wip

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

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

diffstat:
 go-python/DESCR         |  4 ++++
 go-python/Makefile      | 23 +++++++++++++++++++++++
 go-python/PLIST         | 50 +++++++++++++++++++++++++++++++++++++++++++++++++
 go-python/buildlink3.mk | 15 +++++++++++++++
 go-python/distinfo      |  6 ++++++
 5 files changed, 98 insertions(+)

diffs:
diff --git a/go-python/DESCR b/go-python/DESCR
new file mode 100644
index 0000000000..be6da95fca
--- /dev/null
+++ b/go-python/DESCR
@@ -0,0 +1,4 @@
+Naive go bindings towards the C-API of CPython-2.
+this package provides a go package named python
+under which most of the PyXYZ functions and macros
+of the public C-API of CPython have been exposed
diff --git a/go-python/Makefile b/go-python/Makefile
new file mode 100644
index 0000000000..5099e5c793
--- /dev/null
+++ b/go-python/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	go-python-0.1.0
+GITHUB_PROJECT=	go-python
+CATEGORIES=	lang
+MASTER_SITES=	${MASTER_SITE_GITHUB:=sbinet/}
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/sbinet/go-python/
+COMMENT=	Naive go bindings towards the C-API of CPython-2
+#LICENSE=	# TODO: (see mk/license.mk)
+
+USE_TOOLS+=	gmake
+
+GO_DIST_BASE=	go-python-${PKGVERSION_NOREV}
+GO_SRCPATH=	github.com/sbinet/go-python
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+.include "../../lang/go/go-package.mk"
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/go-python/PLIST b/go-python/PLIST
new file mode 100644
index 0000000000..ed35aa0ce0
--- /dev/null
+++ b/go-python/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD$
+bin/cpickle
+bin/errfetch
+bin/go-python
+bin/issue61
+bin/kw-args
+bin/modify-values
+bin/none-check
+gopkg/pkg/${GO_PLATFORM}/github.com/sbinet/go-python.a
+gopkg/src/github.com/sbinet/go-python/LICENSE
+gopkg/src/github.com/sbinet/go-python/Makefile
+gopkg/src/github.com/sbinet/go-python/README.md
+gopkg/src/github.com/sbinet/go-python/appveyor.yml
+gopkg/src/github.com/sbinet/go-python/capi.go
+gopkg/src/github.com/sbinet/go-python/cgoflags_unix.go
+gopkg/src/github.com/sbinet/go-python/cgoflags_windows.go
+gopkg/src/github.com/sbinet/go-python/cmd/go-python/main.go
+gopkg/src/github.com/sbinet/go-python/dict.go
+gopkg/src/github.com/sbinet/go-python/exceptions.go
+gopkg/src/github.com/sbinet/go-python/exceptions_posix.go
+gopkg/src/github.com/sbinet/go-python/file.go
+gopkg/src/github.com/sbinet/go-python/gen-cgoflags.go
+gopkg/src/github.com/sbinet/go-python/go-python.c
+gopkg/src/github.com/sbinet/go-python/go-python.go
+gopkg/src/github.com/sbinet/go-python/go-python.h
+gopkg/src/github.com/sbinet/go-python/go.mod
+gopkg/src/github.com/sbinet/go-python/heap.go
+gopkg/src/github.com/sbinet/go-python/init.go
+gopkg/src/github.com/sbinet/go-python/init_test.go
+gopkg/src/github.com/sbinet/go-python/none.go
+gopkg/src/github.com/sbinet/go-python/numeric.go
+gopkg/src/github.com/sbinet/go-python/object.go
+gopkg/src/github.com/sbinet/go-python/object_posix.go
+gopkg/src/github.com/sbinet/go-python/object_windows.go
+gopkg/src/github.com/sbinet/go-python/otherobjects.go
+gopkg/src/github.com/sbinet/go-python/python.go
+gopkg/src/github.com/sbinet/go-python/python_test.go
+gopkg/src/github.com/sbinet/go-python/sequence.go
+gopkg/src/github.com/sbinet/go-python/tests/cpickle/main.go
+gopkg/src/github.com/sbinet/go-python/tests/errfetch/main.go
+gopkg/src/github.com/sbinet/go-python/tests/issue61/main.go
+gopkg/src/github.com/sbinet/go-python/tests/kw-args/kwargs.py
+gopkg/src/github.com/sbinet/go-python/tests/kw-args/main.go
+gopkg/src/github.com/sbinet/go-python/tests/modify-values/main.go
+gopkg/src/github.com/sbinet/go-python/tests/modify-values/values.py
+gopkg/src/github.com/sbinet/go-python/tests/none-check/get_none.py
+gopkg/src/github.com/sbinet/go-python/tests/none-check/main.go
+gopkg/src/github.com/sbinet/go-python/type.go
+gopkg/src/github.com/sbinet/go-python/utilities.go
+gopkg/src/github.com/sbinet/go-python/veryhigh.go
diff --git a/go-python/buildlink3.mk b/go-python/buildlink3.mk
new file mode 100644
index 0000000000..2069913741
--- /dev/null
+++ b/go-python/buildlink3.mk
@@ -0,0 +1,15 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	go-python
+
+.if !defined(GO_PYTHON_BUILDLINK3_MK)
+GO_PYTHON_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-python=	${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-python?=		build
+
+BUILDLINK_API_DEPENDS.go-python+=	go-python>=0.1.0
+BUILDLINK_PKGSRCDIR.go-python?=	../../wip/go-python
+.endif	# GO_PYTHON_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-go-python
diff --git a/go-python/distinfo b/go-python/distinfo
new file mode 100644
index 0000000000..bab89fbb11
--- /dev/null
+++ b/go-python/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (go-python-0.1.0.tar.gz) = 0d8b11daf0c52c53c46152d8ea9b2ae11f0febb4
+RMD160 (go-python-0.1.0.tar.gz) = 7f1eba245a4376fe5754cc138a84322fdcb5da80
+SHA512 (go-python-0.1.0.tar.gz) = 80d9a10080f5ffd27a5871b5b29824550efb5e166e099de1fa316584c5afc09e99f833320b78266378bc329ece622d448fa385e9685a2e3b624e288341aa954c
+Size (go-python-0.1.0.tar.gz) = 54390 bytes


Home | Main Index | Thread Index | Old Index