1 |
commit: 3cc1403e7d14258bd344768ad4ec4f76be9cbf15 |
2 |
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 |
AuthorDate: Thu Apr 30 17:14:13 2020 +0000 |
4 |
Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 |
CommitDate: Thu Apr 30 17:14:13 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cc1403e |
7 |
|
8 |
net-misc/purritobin: ultra fast, minimalistic commandline pastebin |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
12 |
|
13 |
net-misc/purritobin/Manifest | 2 +- |
14 |
net-misc/purritobin/metadata.xml | 7 +++++++ |
15 |
...ritobin-0.0.2.ebuild => purritobin-0.1.3.ebuild} | 21 ++++++++++++++++----- |
16 |
net-misc/purritobin/purritobin-9999.ebuild | 21 ++++++++++++++++----- |
17 |
4 files changed, 40 insertions(+), 11 deletions(-) |
18 |
|
19 |
diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest |
20 |
index cca26b3..2c34c54 100644 |
21 |
--- a/net-misc/purritobin/Manifest |
22 |
+++ b/net-misc/purritobin/Manifest |
23 |
@@ -1 +1 @@ |
24 |
-DIST purritobin-0.0.2.tar.gz 6647 BLAKE2B e0b59920d644e5282966abed2128d583e306d9897c3fff6c20c3ab77b347d0cb244860d94238f1094c454489ce05570be9a19e1b2c548deb21114a66bacfdeb8 SHA512 4de009e3d2b6a15ca93affa2c0026c55d85473c9009b9f4b0766c90ef84fc860cedb433a9de4cc8a8ef0f79a3ef69f40100324ad016c74efd6a73b9651789c8b |
25 |
+DIST purritobin-0.1.3.tar.gz 7561 BLAKE2B 0b476678e5f06b64741e3cff68822dc7c7f32af0c1313405ae8aa0b39af7e649f33b2405d63194e7634d2f2e75d1715524383f6c1b11170eac925fd814579674 SHA512 8b79fed4abd8412d04af7cf67792a8f6f658f4bc0c87b891275eb7ffb72c747c5174ed8556f6a57f160c6e6e4700bcc55b89ca1076d51d6d59b1fd906e2824a1 |
26 |
|
27 |
diff --git a/net-misc/purritobin/metadata.xml b/net-misc/purritobin/metadata.xml |
28 |
index 65ac1f2..ea7ac63 100644 |
29 |
--- a/net-misc/purritobin/metadata.xml |
30 |
+++ b/net-misc/purritobin/metadata.xml |
31 |
@@ -5,4 +5,11 @@ |
32 |
<email>gentoo@×××××.cc</email> |
33 |
<name>Aisha Tammy</name> |
34 |
</maintainer> |
35 |
+ <maintainer type="project"> |
36 |
+ <email>proxy-maint@g.o</email> |
37 |
+ <name>Proxy Maintainers</name> |
38 |
+ </maintainer> |
39 |
+ <use> |
40 |
+ <flag name="libuv">use libuv to do async operations, instead of linux kernels epoll</flag> |
41 |
+ </use> |
42 |
</pkgmetadata> |
43 |
|
44 |
diff --git a/net-misc/purritobin/purritobin-0.0.2.ebuild b/net-misc/purritobin/purritobin-0.1.3.ebuild |
45 |
similarity index 67% |
46 |
rename from net-misc/purritobin/purritobin-0.0.2.ebuild |
47 |
rename to net-misc/purritobin/purritobin-0.1.3.ebuild |
48 |
index 7502a8d..ed23716 100644 |
49 |
--- a/net-misc/purritobin/purritobin-0.0.2.ebuild |
50 |
+++ b/net-misc/purritobin/purritobin-0.1.3.ebuild |
51 |
@@ -16,13 +16,24 @@ else |
52 |
S="${WORKDIR}/PurritoBin-${PV}" |
53 |
fi |
54 |
|
55 |
-LICENSE="GPL-2" |
56 |
+LICENSE="ISC" |
57 |
SLOT="0" |
58 |
-IUSE="" |
59 |
+IUSE="libuv" |
60 |
|
61 |
-DEPEND="" |
62 |
-RDEPEND="" |
63 |
-BDEPEND="" |
64 |
+DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?] |
65 |
+ >=dev-cpp/uwebsockets-0.17.4 |
66 |
+ libuv? ( >=dev-libs/libuv-1.35.0 ) |
67 |
+" |
68 |
+RDEPEND="${DEPEND}" |
69 |
+BDEPEND="${DEPEND}" |
70 |
+ |
71 |
+src_compile() { |
72 |
+ if use libuv; then |
73 |
+ WITH_LIBUV=1 emake all |
74 |
+ else |
75 |
+ emake all |
76 |
+ fi |
77 |
+} |
78 |
|
79 |
src_install() { |
80 |
emake prefix="/usr" DESTDIR="${D}" install |
81 |
|
82 |
diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild |
83 |
index 7502a8d..ed23716 100644 |
84 |
--- a/net-misc/purritobin/purritobin-9999.ebuild |
85 |
+++ b/net-misc/purritobin/purritobin-9999.ebuild |
86 |
@@ -16,13 +16,24 @@ else |
87 |
S="${WORKDIR}/PurritoBin-${PV}" |
88 |
fi |
89 |
|
90 |
-LICENSE="GPL-2" |
91 |
+LICENSE="ISC" |
92 |
SLOT="0" |
93 |
-IUSE="" |
94 |
+IUSE="libuv" |
95 |
|
96 |
-DEPEND="" |
97 |
-RDEPEND="" |
98 |
-BDEPEND="" |
99 |
+DEPEND=">=dev-cpp/usockets-0.3.5:=[libuv?] |
100 |
+ >=dev-cpp/uwebsockets-0.17.4 |
101 |
+ libuv? ( >=dev-libs/libuv-1.35.0 ) |
102 |
+" |
103 |
+RDEPEND="${DEPEND}" |
104 |
+BDEPEND="${DEPEND}" |
105 |
+ |
106 |
+src_compile() { |
107 |
+ if use libuv; then |
108 |
+ WITH_LIBUV=1 emake all |
109 |
+ else |
110 |
+ emake all |
111 |
+ fi |
112 |
+} |
113 |
|
114 |
src_install() { |
115 |
emake prefix="/usr" DESTDIR="${D}" install |