diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-perl/DBD-SQLite | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-perl/DBD-SQLite')
-rw-r--r-- | dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild | 47 | ||||
-rw-r--r-- | dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild | 47 | ||||
-rw-r--r-- | dev-perl/DBD-SQLite/Manifest | 5 | ||||
-rw-r--r-- | dev-perl/DBD-SQLite/metadata.xml | 22 |
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild new file mode 100644 index 000000000000..830ca571e0db --- /dev/null +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.560.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=ISHIGAKI +DIST_VERSION=1.56 +inherit perl-module + +DESCRIPTION="Self Contained RDBMS in a DBI Driver" + +SLOT="0" +KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test system-sqlite" + +# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite +# when bumping versions re: system-sqlite interop +RDEPEND=" + system-sqlite? ( + >=dev-db/sqlite-3.21.0[extensions(+)] + ) + >=dev-perl/DBI-1.570.0 + !<dev-perl/DBD-SQLite-1 + virtual/perl-Scalar-List-Utils +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + test? ( + >=virtual/perl-File-Spec-0.820.0 + >=virtual/perl-Test-Simple-0.420.0 + ) +" + +src_prepare() { + perl-module_src_prepare + if use system-sqlite; then + einfo "Removing bundled SQLite" + # Flip Makefile into system mode. + sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die + # remove bundled sqlite (rt.cpan#61361) + for i in sqlite3{.c,.h,ext.h} ; do + rm ${i} || die + sed -i -e "/^${i}\$/d" MANIFEST || die + done + myconf="SQLITE_LOCATION=${EPREFIX}/usr" + fi +} diff --git a/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild b/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild new file mode 100644 index 000000000000..8e84fa9db15b --- /dev/null +++ b/dev-perl/DBD-SQLite/DBD-SQLite-1.580.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=ISHIGAKI +DIST_VERSION=1.58 +inherit perl-module + +DESCRIPTION="Self Contained RDBMS in a DBI Driver" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris" +IUSE="test system-sqlite" + +# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite +# when bumping versions re: system-sqlite interop +RDEPEND=" + system-sqlite? ( + >=dev-db/sqlite-3.21.0[extensions(+)] + ) + >=dev-perl/DBI-1.570.0 + !<dev-perl/DBD-SQLite-1 + virtual/perl-Scalar-List-Utils +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + test? ( + >=virtual/perl-File-Spec-0.820.0 + >=virtual/perl-Test-Simple-0.420.0 + ) +" + +src_prepare() { + perl-module_src_prepare + if use system-sqlite; then + einfo "Removing bundled SQLite" + # Flip Makefile into system mode. + sed -i 's/^if ( 0 )/if ( 1 )/' "${S}"/Makefile.PL || die + # remove bundled sqlite (rt.cpan#61361) + for i in sqlite3{.c,.h,ext.h} ; do + rm ${i} || die + sed -i -e "/^${i}\$/d" MANIFEST || die + done + myconf="SQLITE_LOCATION=${EPREFIX}/usr" + fi +} diff --git a/dev-perl/DBD-SQLite/Manifest b/dev-perl/DBD-SQLite/Manifest new file mode 100644 index 000000000000..c41fe0ccb309 --- /dev/null +++ b/dev-perl/DBD-SQLite/Manifest @@ -0,0 +1,5 @@ +DIST DBD-SQLite-1.56.tar.gz 2248699 BLAKE2B d6af8efed8149ff2ec5c68cc071355805f4a24e234e015c180d5326a4def4eab33352d168e9e41c06b2de28a0137f0d39a864749bfa972d28f8ec9221379bdc1 SHA512 1c9be3557691f76a9e543fe4bd6656a6b82f53fba4bc05261a55affa0a38b4eaa1cf876da975234c9c09985ba25b21f6f7a735f1cc47104169edf7fdd3a2e314 +DIST DBD-SQLite-1.58.tar.gz 2248800 BLAKE2B 54cb94d0c64389984290361104e723be4cc9c7352e2f1c80838efa15d8f3d9d671705117422a1076203821b24ef63e06bf95244a0bdd7b710394e655041af18e SHA512 080d1e304fb0d43926ce0345df3367132c317ba113bdc11952c0a159bc68d988a024828a28e66be267f82e07731dee225723854fb80914ba7c476b27dbdeb212 +EBUILD DBD-SQLite-1.560.0.ebuild 1289 BLAKE2B c9826778fd550d26995af24bf0beeaf2c1bb8f6597b52e0aa14071d599438e32281b783acf3b7d82cc4d8670f909f7ff678950005e84518524bd66e78978dd99 SHA512 1ac44eff172582e3190661c32eec0a6bf93e8abee86a8c00d5951cc0f5b081a43d14de5ea256899687b7c0d40565f4c2b2aa3d4fa211ebbcb3ccf5d008345e6e +EBUILD DBD-SQLite-1.580.0.ebuild 1300 BLAKE2B c1f695179b4e6df47d3410b1d8b15207813efed077c457a3394233438015a92e4a51b885c908f37d74392ded29e75de31dc6c4267977d0dbf3269fda179f0034 SHA512 24011c6588b9be3b43230e7884504e3fc09c31326e52813d57fef72933e9fb4a6d359144c189d5a61e281bbc5923553df60c14d4b75291875f8ad397f2b1e6e7 +MISC metadata.xml 1076 BLAKE2B da1e831d74cde4db051a301cce34e8a64ade0f85accb892a72f5480db33ce3672542932b455b69f8cb7c0abf792799639f8c06c572e89a0abdba64561d2aa4f9 SHA512 6dc34ac81f2eef0a16be36407d29a91f341f19706a9660d751b5d4b289b44d6595f31260a4987b2cff22c4b02440cd07dfbcef48b1422da5ca96a5dcfdea510e diff --git a/dev-perl/DBD-SQLite/metadata.xml b/dev-perl/DBD-SQLite/metadata.xml new file mode 100644 index 000000000000..81d70780bfe5 --- /dev/null +++ b/dev-perl/DBD-SQLite/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> + <use> + <flag name="system-sqlite">Use the system-wide <pkg>dev-db/sqlite</pkg> installation</flag> + </use> + <upstream> + <remote-id type="cpan">DBD-SQLite</remote-id> + <remote-id type="cpan-module">DBD::SQLite</remote-id> + <remote-id type="cpan-module">DBD::SQLite::Constants</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::Cursor</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::FileContent</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::FileContent::Cursor</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::PerlData</remote-id> + <remote-id type="cpan-module">DBD::SQLite::VirtualTable::PerlData::Cursor</remote-id> + </upstream> +</pkgmetadata> |