go-python-0.1.0 import to wip

This commit is contained in:
K.I.A.Derouiche 2020-12-29 01:52:47 +01:00
parent e04b2c3881
commit b9eef706d8
5 changed files with 98 additions and 0 deletions

4
go-python/DESCR Normal file
View File

@ -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

23
go-python/Makefile Normal file
View File

@ -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
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"

50
go-python/PLIST Normal file
View File

@ -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

15
go-python/buildlink3.mk Normal file
View File

@ -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

6
go-python/distinfo Normal file
View File

@ -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