1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Remove this port which was committed without a maintainer, and subsequent

emails to the committer about this were ignored.  If someone else wants
to maintain it, it can be added back.

Pointy hat to:	sobomax
This commit is contained in:
Kris Kennaway 2005-09-30 17:53:58 +00:00
parent 0895fef2d5
commit ab823f00d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143874
9 changed files with 0 additions and 151 deletions

View File

@ -209,7 +209,6 @@
SUBDIR += py-compiler
SUBDIR += py-mx-base
SUBDIR += py-prolog
SUBDIR += pyperl
SUBDIR += python
SUBDIR += python-devel
SUBDIR += python-doc-html

View File

@ -1,44 +0,0 @@
# New ports collection makefile for: pyperl
# Date created: 1 September 2005
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= pyperl
PORTVERSION= 1.0.1
CATEGORIES= lang python perl5
MASTER_SITES= http://downloads.activestate.com/Zope-Perl/
MAINTAINER= ports@FreeBSD.org
COMMENT= Module to embed Perl code into a Python program
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PERL_CONFIGURE= yes
CONFIGURE_WRKSRC= ${WRKSRC}/Python-Object
INSTALL_TARGET= pure_install
MAN3= Python.3 Python::Err.3 Python::Object.3
post-extract:
@${RM} -f ${WRKSRC}/MULTI_PERL
post-configure:
@cd ${CONFIGURE_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} \
${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}
post-build:
@(cd ${CONFIGURE_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${ALL_TARGET})
post-install:
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ${INSTALL_TARGET})
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires PERL 5.6.0 or better
.endif
.include <bsd.port.post.mk>

View File

@ -1,2 +0,0 @@
MD5 (pyperl-1.0.1.tar.gz) = 8c5b9df951f91914dbdba69c56a335fa
SIZE (pyperl-1.0.1.tar.gz) = 61314

View File

@ -1,30 +0,0 @@
$FreeBSD$
--- dlhack.c
+++ dlhack.c
@@ -1,5 +1,6 @@
#include <Python.h>
#include <dlfcn.h>
+#include <unistd.h>
/* This is a fake perl module that will look for the real thing ('perl2.so')
* in sys.path and then load this one with the RTLD_GLOBAL set in order to
@@ -33,6 +34,8 @@
if (strlen(buf) != len)
continue; /* v contains '\0' */
strcpy(buf+len, "/perl2.so");
+ if (access(buf, R_OK) == -1)
+ continue;
handle = dlopen(buf, RTLD_NOW | RTLD_GLOBAL);
if (handle) {
@@ -45,6 +48,7 @@
}
return;
}
+ break;
}
- PyErr_SetString(PyExc_ImportError, "perl2.so not found");
+ PyErr_SetString(PyExc_ImportError, dlerror());
}

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- setup.py
+++ setup.py
@@ -94,7 +94,7 @@
cc_extra.append("-DDL_HACK")
extra_ext.append(Extension(name = "perl",
sources = ["dlhack.c"],
- libraries = ["dl"],
+ libraries = [],
))

View File

@ -1,15 +0,0 @@
$FreeBSD$
--- svrv_object.c
+++ svrv_object.c
@@ -18,6 +18,9 @@
#include "lang_map.h"
#include "try_perlapi.h"
+#define PERL_CORE
+#include <embed.h>
+
#ifdef MULTI_PERL
static int
owned_by(PySVRV *self, refcounted_perl *my_perl)

View File

@ -1,15 +0,0 @@
$FreeBSD$
--- try_perlapi.pl
+++ try_perlapi.pl
@@ -24,6 +24,9 @@
#include "perlmodule.h"
#include "lang_lock.h"
#include "thrd_ctx.h"
+
+#define PERL_CORE
+#include "embed.h"
EOT
print C <<EOT if $ENABLE_JMPENV;

View File

@ -1,7 +0,0 @@
This is a Python extension module that makes it possible to embed Perl
interpreter(s) in any Python program. It can be used to invoke
arbitrary Perl code, load any Perl modules and make calls directly
into Perl functions. The Perl code invoked can call back into Python
as it see fit.
WWW: http://www.zope.org/Wikis/zope-perl/

View File

@ -1,23 +0,0 @@
%%SITE_PERL%%/%%PERL_ARCH%%/Python.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Python/Err.pm
%%SITE_PERL%%/%%PERL_ARCH%%/Python/Object.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/.packlist
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/Object.bs
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object/Object.so
lib/%%PYTHON_VERSION%%/site-packages/dbi.py
lib/%%PYTHON_VERSION%%/site-packages/dbi.pyc
lib/%%PYTHON_VERSION%%/site-packages/dbi.pyo
lib/%%PYTHON_VERSION%%/site-packages/dbi2.py
lib/%%PYTHON_VERSION%%/site-packages/dbi2.pyc
lib/%%PYTHON_VERSION%%/site-packages/dbi2.pyo
lib/%%PYTHON_VERSION%%/site-packages/perl.so
lib/%%PYTHON_VERSION%%/site-packages/perl2.so
lib/%%PYTHON_VERSION%%/site-packages/perlmod.py
lib/%%PYTHON_VERSION%%/site-packages/perlmod.pyc
lib/%%PYTHON_VERSION%%/site-packages/perlmod.pyo
lib/%%PYTHON_VERSION%%/site-packages/perlpickle.py
lib/%%PYTHON_VERSION%%/site-packages/perlpickle.pyc
lib/%%PYTHON_VERSION%%/site-packages/perlpickle.pyo
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Python/Object
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Python
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Python