Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/ocp/
Date: Sun, 30 Jul 2017 10:26:07
Message-Id: 1501410325.4206e6636d297eb834f8117d70ae89ac1ea00864.soap@gentoo
1 commit: 4206e6636d297eb834f8117d70ae89ac1ea00864
2 Author: Max Satula <maksym.satula <AT> gmail <DOT> com>
3 AuthorDate: Thu Jul 27 19:46:24 2017 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 30 10:25:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4206e663
7
8 dev-db/ocp: New package
9
10 ocp is a command line tool to download and upload files from/to Oracle
11 Database directories using Oracle SQL Net connection only
12
13 Package-Manager: Portage-2.3.2, Repoman-2.3.3
14 Closes: https://github.com/gentoo/gentoo/pull/5225
15
16 dev-db/ocp/Manifest | 1 +
17 dev-db/ocp/metadata.xml | 16 ++++++++++++++++
18 dev-db/ocp/ocp-0.2.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
19 dev-db/ocp/ocp-9999.ebuild | 41 +++++++++++++++++++++++++++++++++++++++++
20 4 files changed, 99 insertions(+)
21
22 diff --git a/dev-db/ocp/Manifest b/dev-db/ocp/Manifest
23 new file mode 100644
24 index 00000000000..88420d44ff6
25 --- /dev/null
26 +++ b/dev-db/ocp/Manifest
27 @@ -0,0 +1 @@
28 +DIST ocp-0.2.tar.gz 144968 SHA256 d6afd26d5342ecb8444a610e21822c926f1af8e3b65ec0d3c0f0bf8a35bde39a SHA512 0ff132a368a615c2a8e8ecb391da138ce9fd52d638de82e5a4d1c9ec3340b117c9c4d8f971ee86724664f93b4073b189407c3c19a0c22c961922145d30221c85 WHIRLPOOL a21b575e668336b62b2fae418faa28bfd80e6f187dbdac2e150a458985ff940289e24fcd556e5fc0f48c6dccce27549772b6594a095d2eff940dd458215a41d1
29
30 diff --git a/dev-db/ocp/metadata.xml b/dev-db/ocp/metadata.xml
31 new file mode 100644
32 index 00000000000..1d504426439
33 --- /dev/null
34 +++ b/dev-db/ocp/metadata.xml
35 @@ -0,0 +1,16 @@
36 +<?xml version="1.0" encoding="UTF-8"?>
37 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
38 +<pkgmetadata>
39 + <maintainer type="person">
40 + <email>maksym.satula@×××××.com</email>
41 + <name>Max Satula</name>
42 + </maintainer>
43 + <maintainer type="project">
44 + <email>proxy-maint@g.o</email>
45 + <name>Proxy Maintainers</name>
46 + </maintainer>
47 + <upstream>
48 + <bugs-to>https://github.com/maxsatula/ocp/issues</bugs-to>
49 + </upstream>
50 + <longdescription lang="en">A tool for downloading and uploading files from/to Oracle Database directories using Oracle SQL Net connection only</longdescription>
51 +</pkgmetadata>
52
53 diff --git a/dev-db/ocp/ocp-0.2.ebuild b/dev-db/ocp/ocp-0.2.ebuild
54 new file mode 100644
55 index 00000000000..3745af1f5a8
56 --- /dev/null
57 +++ b/dev-db/ocp/ocp-0.2.ebuild
58 @@ -0,0 +1,41 @@
59 +# Copyright 1999-2017 Gentoo Foundation
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=6
63 +
64 +inherit flag-o-matic
65 +
66 +DESCRIPTION="Oracle copy tool"
67 +HOMEPAGE="https://github.com/maxsatula/ocp"
68 +
69 +if [[ ${PV} == *9999 ]]; then
70 + EGIT_REPO_URI="https://github.com/maxsatula/ocp.git"
71 + EGIT_BRANCH="develop"
72 + inherit git-r3 autotools
73 +else
74 + SRC_URI="https://github.com/maxsatula/ocp/releases/download/v${PV}/${P}.tar.gz"
75 + KEYWORDS="~amd64 ~x86"
76 +fi
77 +
78 +LICENSE="GPL-2"
79 +SLOT="0"
80 +IUSE=""
81 +
82 +RDEPEND="
83 + dev-db/oracle-instantclient-basic
84 + dev-libs/popt
85 + sys-libs/zlib"
86 +DEPEND="${RDEPEND}"
87 +
88 +src_prepare() {
89 + default
90 +
91 + if [[ ${PV} == *9999 ]] ; then
92 + eautoreconf
93 + fi
94 +}
95 +
96 +src_configure() {
97 + append-ldflags $(no-as-needed)
98 + default
99 +}
100
101 diff --git a/dev-db/ocp/ocp-9999.ebuild b/dev-db/ocp/ocp-9999.ebuild
102 new file mode 100644
103 index 00000000000..3745af1f5a8
104 --- /dev/null
105 +++ b/dev-db/ocp/ocp-9999.ebuild
106 @@ -0,0 +1,41 @@
107 +# Copyright 1999-2017 Gentoo Foundation
108 +# Distributed under the terms of the GNU General Public License v2
109 +
110 +EAPI=6
111 +
112 +inherit flag-o-matic
113 +
114 +DESCRIPTION="Oracle copy tool"
115 +HOMEPAGE="https://github.com/maxsatula/ocp"
116 +
117 +if [[ ${PV} == *9999 ]]; then
118 + EGIT_REPO_URI="https://github.com/maxsatula/ocp.git"
119 + EGIT_BRANCH="develop"
120 + inherit git-r3 autotools
121 +else
122 + SRC_URI="https://github.com/maxsatula/ocp/releases/download/v${PV}/${P}.tar.gz"
123 + KEYWORDS="~amd64 ~x86"
124 +fi
125 +
126 +LICENSE="GPL-2"
127 +SLOT="0"
128 +IUSE=""
129 +
130 +RDEPEND="
131 + dev-db/oracle-instantclient-basic
132 + dev-libs/popt
133 + sys-libs/zlib"
134 +DEPEND="${RDEPEND}"
135 +
136 +src_prepare() {
137 + default
138 +
139 + if [[ ${PV} == *9999 ]] ; then
140 + eautoreconf
141 + fi
142 +}
143 +
144 +src_configure() {
145 + append-ldflags $(no-as-needed)
146 + default
147 +}