switch redland-bindings to py3

This commit is contained in:
sthen 2021-10-27 19:32:05 +00:00
parent 3081043bc1
commit fe708775a0
6 changed files with 18 additions and 21 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.1307 2021/10/26 20:08:07 sthen Exp $
# $OpenBSD: Makefile,v 1.1308 2021/10/27 19:32:05 sthen Exp $
COMMENT = exceptions to pkg_add rules
CATEGORIES = devel databases
DISTFILES =
# API.rev
PKGNAME = quirks-4.60
PKGNAME = quirks-4.61
PKG_ARCH = *
MAINTAINER = Marc Espie <espie@openbsd.org>

View File

@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
# $OpenBSD: Quirks.pm,v 1.1323 2021/10/26 20:08:07 sthen Exp $
# $OpenBSD: Quirks.pm,v 1.1324 2021/10/27 19:32:05 sthen Exp $
#
# Copyright (c) 2009 Marc Espie <espie@openbsd.org>
#
@ -571,6 +571,7 @@ my $stem_extensions = {
'py-logilab-common' => 'py3-logilab-common',
'py-memcached' => 'py3-memcached',
'py-tempora' => 'py3-tempora',
'py-redland' => 'py3-redland',
};
my $obsolete_reason = {};

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2021/09/02 14:59:45 jeremy Exp $
# $OpenBSD: Makefile,v 1.24 2021/10/27 19:32:05 sthen Exp $
COMMENT-main= Redland librdf Perl Bindings
COMMENT-python= Redland librdf Python Bindings
@ -8,14 +8,13 @@ CATEGORIES= textproc
V= 1.0.17.1
DISTNAME= redland-bindings-$V
PKGNAME-main= p5-librdf-$V
PKGNAME-python= py-librdf-$V
PKGNAME-python= py3-librdf-$V
PKGNAME-ruby= ruby${MODRUBY_BINREV}-librdf-$V
REVISION= 4
REVISION-ruby= 5
REVISION= 6
HOMEPAGE= http://librdf.org/bindings/
HOMEPAGE= https://librdf.org/bindings/
MASTER_SITES= http://download.librdf.org/source/
MASTER_SITES= https://download.librdf.org/source/
# LGPL 2.1, or Apache 2
PERMIT_PACKAGE= Yes
@ -35,7 +34,6 @@ CONFIGURE_ARGS+= --with-perl
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include
MODULES+= lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
CONFIGURE_ARGS+= --with-python
MODPY_RUNDEP= No
CONFIGURE_ENV+= PYTHON=${MODPY_BIN}
@ -44,7 +42,6 @@ RUN_DEPENDS-python= ${MODPY_RUN_DEPENDS}
WANTLIB-python= ${WANTLIB} raptor2 rasqal
MODULES+= lang/ruby
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
CONFIGURE_ARGS+= --with-ruby \
--with-ruby-linking=so
MODRUBY_RUNDEP= No
@ -53,6 +50,8 @@ LIB_DEPENDS-ruby= ${LIB_DEPENDS} ${MODRUBY_LIB_DEPENDS}
RUN_DEPENDS-ruby= ${MODRUBY_RUN_DEPENDS}
WANTLIB-ruby= ${WANTLIB} ${MODRUBY_WANTLIB}
PORTHOME=${WRKDIR}
post-extract:
rm ${WRKSRC}/perl/CORE_wrap.c

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST-main,v 1.2 2014/06/14 10:34:45 sthen Exp $
@comment $OpenBSD: PLIST-main,v 1.3 2021/10/27 19:32:05 sthen Exp $
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/RDF/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/RDF/Redland/
@ -25,7 +25,7 @@ libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/Redland/
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/Redland/CORE/
@comment libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/Redland/CORE/CORE.bs
libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/Redland/CORE/CORE.so
@so libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd/auto/RDF/Redland/CORE/CORE.so
@man man/man3p/RDF::Redland.3p
@man man/man3p/RDF::Redland::BlankNode.3p
@man man/man3p/RDF::Redland::Iterator.3p

View File

@ -1,6 +1,4 @@
@comment $OpenBSD: PLIST-python,v 1.2 2014/10/02 12:33:20 jasper Exp $
lib/python${MODPY_VERSION}/
lib/python${MODPY_VERSION}/site-packages/
@comment $OpenBSD: PLIST-python,v 1.3 2021/10/27 19:32:05 sthen Exp $
@so lib/python${MODPY_VERSION}/site-packages/_Redland.${MODPY_PYC_MAGIC_TAG}so
lib/python${MODPY_VERSION}/site-packages/RDF.py
lib/python${MODPY_VERSION}/site-packages/Redland.py
lib/python${MODPY_VERSION}/site-packages/_Redland.so

View File

@ -1,7 +1,4 @@
@comment $OpenBSD: PLIST-ruby,v 1.1.1.1 2012/12/13 13:46:01 sthen Exp $
lib/ruby/
lib/ruby/${MODRUBY_LIBREV}/
lib/ruby/${MODRUBY_LIBREV}/${MODRUBY_ARCH}/redland.so
@comment $OpenBSD: PLIST-ruby,v 1.2 2021/10/27 19:32:05 sthen Exp $
lib/ruby/${MODRUBY_LIBREV}/rdf/
lib/ruby/${MODRUBY_LIBREV}/rdf/redland/
lib/ruby/${MODRUBY_LIBREV}/rdf/redland.rb
@ -25,3 +22,5 @@ lib/ruby/${MODRUBY_LIBREV}/rdf/redland/store.rb
lib/ruby/${MODRUBY_LIBREV}/rdf/redland/stream.rb
lib/ruby/${MODRUBY_LIBREV}/rdf/redland/uri.rb
lib/ruby/${MODRUBY_LIBREV}/rdf/redland/util.rb
lib/ruby/${MODRUBY_LIBREV}/${MODRUBY_ARCH}/
@so lib/ruby/${MODRUBY_LIBREV}/${MODRUBY_ARCH}/redland.so