This library provides the features to directly call and partially interoperate with Python from the Ruby language. You can import arbitrary Python modules into Ruby modules, call Python functions with automatic type conversion from Ruby to Python.
18 lines
513 B
Makefile
18 lines
513 B
Makefile
# $NetBSD: Makefile,v 1.1 2020/09/20 08:34:37 ryoon Exp $
|
|
|
|
DISTNAME= pycall-1.3.1
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://github.com/mrkn/pycall.rb
|
|
COMMENT= Calling Python functions from Ruby
|
|
LICENSE= mit
|
|
|
|
SUBST_CLASSES+= python
|
|
SUBST_STAGE.python= pre-configure
|
|
SUBST_MESSAGE.python= USe python command from pkgsrc
|
|
SUBST_FILES.python= lib/pycall/libpython/finder.rb
|
|
SUBST_VARS.python= PYTHONBIN
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|