1 |
commit: 5233299712c2f385ca683f060089a4533db81c8d |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 3 06:45:02 2011 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 3 06:45:02 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/mgorny.git;a=commit;h=52332997 |
7 |
|
8 |
dev-python/miniupnpc: Introduce a split ebuild for Python part of miniupnpc. |
9 |
|
10 |
(Portage version: 2.2.0_alpha49_p5/git/Linux x86_64, signed Manifest commit with key 42B9401D) |
11 |
|
12 |
--- |
13 |
dev-python/miniupnpc/Manifest | 16 +++++++++ |
14 |
...-Python-module-against-the-shared-library.patch | 24 +++++++++++++ |
15 |
dev-python/miniupnpc/metadata.xml | 17 +++++++++ |
16 |
dev-python/miniupnpc/miniupnpc-1.6.ebuild | 36 ++++++++++++++++++++ |
17 |
4 files changed, 93 insertions(+), 0 deletions(-) |
18 |
|
19 |
diff --git a/dev-python/miniupnpc/Manifest b/dev-python/miniupnpc/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..8683af8 |
22 |
--- /dev/null |
23 |
+++ b/dev-python/miniupnpc/Manifest |
24 |
@@ -0,0 +1,16 @@ |
25 |
+-----BEGIN PGP SIGNED MESSAGE----- |
26 |
+Hash: SHA256 |
27 |
+ |
28 |
+AUX 0001-Link-Python-module-against-the-shared-library.patch 707 RMD160 ef884e104524e220e58347a58684482680ca8607 SHA1 b708a5fa023325e4bcbf591286176c22d9625d5f SHA256 16a223d7dd5cd3507e11782934699540c687c2bed28d582cab177ab3f9b49e98 |
29 |
+DIST miniupnpc-1.6.tar.gz 66454 RMD160 d86b75b331a3fb5525c71708548f311977c0598f SHA1 ef8f2edb17f2e7c5b8dc67ee80a65c199d823e0a SHA256 bbd6b756e6af44b5a5b0f9b93eada3fb8922ed1d6451b7d6f184d0ae0c813994 |
30 |
+EBUILD miniupnpc-1.6.ebuild 805 RMD160 1d9df1339281f044334d7f8852e8f6ab2d1f593d SHA1 8034687ae5925e703317d92a32412c34e6b48747 SHA256 a5a2d0af6a98d49d0d8ef223119adffb06c5a7620dcaef2a4a30b6307d12d801 |
31 |
+MISC metadata.xml 418 RMD160 57cd3ee3cec2a418323823d0c5ab8f3e56722dcb SHA1 6d59a27ff76532516274b82fa8e53f8145d37fdc SHA256 d20ee611ec1a7073b0727710cea00748d46a4934f91cd2da852c5bce286ba1be |
32 |
+-----BEGIN PGP SIGNATURE----- |
33 |
+Version: GnuPG v2.0.17 (GNU/Linux) |
34 |
+ |
35 |
+iJwEAQEIAAYFAk447m4ACgkQfXuS5UK5QB1ojgP8CNsgpcl/GJG8+qzgpNOZGyoD |
36 |
+XaDZPC8/RJGojFnPQFbmkPGYmRi0DKEpkkWm1y0qcI6XMk/VQjXGXO0GmO5wn/7Y |
37 |
+KP/7m2Q0YSEt0BSo2GpHB0Qizi7qxuGaHILzQcRtJEePqsdZEDlrnoP383/Bdus/ |
38 |
+Yzg9qF9rILsFbprPJpc= |
39 |
+=PBxb |
40 |
+-----END PGP SIGNATURE----- |
41 |
|
42 |
diff --git a/dev-python/miniupnpc/files/0001-Link-Python-module-against-the-shared-library.patch b/dev-python/miniupnpc/files/0001-Link-Python-module-against-the-shared-library.patch |
43 |
new file mode 100644 |
44 |
index 0000000..d9e6c43 |
45 |
--- /dev/null |
46 |
+++ b/dev-python/miniupnpc/files/0001-Link-Python-module-against-the-shared-library.patch |
47 |
@@ -0,0 +1,24 @@ |
48 |
+From 34da047ae5b945a43430f59efe0efefdd8f1ba55 Mon Sep 17 00:00:00 2001 |
49 |
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@g.o> |
50 |
+Date: Wed, 3 Aug 2011 08:28:31 +0200 |
51 |
+Subject: [PATCH] Link Python module against the shared library. |
52 |
+ |
53 |
+--- |
54 |
+ setup.py | 2 +- |
55 |
+ 1 files changed, 1 insertions(+), 1 deletions(-) |
56 |
+ |
57 |
+diff --git a/setup.py b/setup.py |
58 |
+index ca31f96..f5aef19 100644 |
59 |
+--- a/setup.py |
60 |
++++ b/setup.py |
61 |
+@@ -10,6 +10,6 @@ from distutils.core import setup, Extension |
62 |
+ setup(name="miniupnpc", version="1.5", |
63 |
+ ext_modules=[ |
64 |
+ Extension(name="miniupnpc", sources=["miniupnpcmodule.c"], |
65 |
+- extra_objects=["libminiupnpc.a"]) |
66 |
++ libraries=["miniupnpc"]) |
67 |
+ ]) |
68 |
+ |
69 |
+-- |
70 |
+1.7.6 |
71 |
+ |
72 |
|
73 |
diff --git a/dev-python/miniupnpc/metadata.xml b/dev-python/miniupnpc/metadata.xml |
74 |
new file mode 100644 |
75 |
index 0000000..e94b790 |
76 |
--- /dev/null |
77 |
+++ b/dev-python/miniupnpc/metadata.xml |
78 |
@@ -0,0 +1,17 @@ |
79 |
+<?xml version="1.0" encoding="UTF-8"?> |
80 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
81 |
+<pkgmetadata> |
82 |
+<herd>no-herd</herd> |
83 |
+<maintainer> |
84 |
+ <email>pva@g.o</email> |
85 |
+ <name>Peter Volkov</name> |
86 |
+</maintainer> |
87 |
+<maintainer> |
88 |
+ <email>mgorny@g.o</email> |
89 |
+ <name>Michał Górny</name> |
90 |
+</maintainer> |
91 |
+<maintainer> |
92 |
+ <email>nikoli@×××××××.com</email> |
93 |
+ <name>Nikoli</name> |
94 |
+</maintainer> |
95 |
+</pkgmetadata> |
96 |
|
97 |
diff --git a/dev-python/miniupnpc/miniupnpc-1.6.ebuild b/dev-python/miniupnpc/miniupnpc-1.6.ebuild |
98 |
new file mode 100644 |
99 |
index 0000000..880ca29 |
100 |
--- /dev/null |
101 |
+++ b/dev-python/miniupnpc/miniupnpc-1.6.ebuild |
102 |
@@ -0,0 +1,36 @@ |
103 |
+# Copyright 1999-2011 Gentoo Foundation |
104 |
+# Distributed under the terms of the GNU General Public License v2 |
105 |
+# $Header: $ |
106 |
+ |
107 |
+EAPI=3 |
108 |
+SUPPORT_PYTHON_ABIS=1 |
109 |
+PYTHON_DEPEND=2 |
110 |
+RESTRICT_PYTHON_ABIS="3.*" |
111 |
+ |
112 |
+inherit base distutils |
113 |
+ |
114 |
+DESCRIPTION="UPnP client library and a simple UPnP client" |
115 |
+HOMEPAGE="http://miniupnp.free.fr/" |
116 |
+SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz" |
117 |
+ |
118 |
+LICENSE="BSD" |
119 |
+SLOT="0" |
120 |
+KEYWORDS="~amd64 ~x86" |
121 |
+IUSE="" |
122 |
+ |
123 |
+RDEPEND="net-libs/miniupnpc |
124 |
+ !net-libs/miniupnpc[python]" |
125 |
+DEPEND="${RDEPEND}" |
126 |
+ |
127 |
+src_prepare() { |
128 |
+ local PATCHES=( |
129 |
+ "${FILESDIR}"/0001-Link-Python-module-against-the-shared-library.patch |
130 |
+ ) |
131 |
+ |
132 |
+ base_src_prepare |
133 |
+ distutils_src_prepare |
134 |
+ |
135 |
+ # these will conflict with base miniupnpc ebuild |
136 |
+ # and distutils.eclass is stupid enough to force installing them |
137 |
+ rm -f Changelog.txt README || die |
138 |
+} |