dev-python/picklemagic: initial version
authorAndrew Savchenko <bircoph@gentoo.org>
Sun, 10 May 2020 10:52:33 +0000 (13:52 +0300)
committerAndrew Savchenko <bircoph@gentoo.org>
Sun, 10 May 2020 11:08:12 +0000 (14:08 +0300)
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org>
dev-python/picklemagic/Manifest [new file with mode: 0644]
dev-python/picklemagic/metadata.xml [new file with mode: 0644]
dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild [new file with mode: 0644]

diff --git a/dev-python/picklemagic/Manifest b/dev-python/picklemagic/Manifest
new file mode 100644 (file)
index 0000000..f18140d
--- /dev/null
@@ -0,0 +1 @@
+DIST picklemagic-0.0_pre20160415.tar.xz 23364 BLAKE2B 07104393d41c68fabb26d642b6a78b5b5506322edc1322f6a0957c485c2681aafb388488b4d65d920102fb56839ebdeb82cbde909dae3d982311a3d776ca8aca SHA512 0b0866895df5f5f49462d75ad6a435f93796c60eae2442350ea0768872cc1938406b68f5ecb54e1583c245c6ac6d4feada32469184e24186adf78d002adfcd76
diff --git a/dev-python/picklemagic/metadata.xml b/dev-python/picklemagic/metadata.xml
new file mode 100644 (file)
index 0000000..cea503d
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>bircoph@gentoo.org</email>
+               <name>Andrew Savchenko</name>
+       </maintainer>
+       <longdescription>
+               A set of modules for analyzing and playing with the mechanics of python pickles.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">CensoredUsername/picklemagic</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild b/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild
new file mode 100644 (file)
index 0000000..983b5bc
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7,8}} )
+inherit python-r1
+
+SRC_URI="https://dev.gentoo.org/~bircoph/distfiles/${P}.tar.xz"
+KEYWORDS="~amd64 ~x86"
+DESCRIPTION="A library for analysing python pickles safely "
+HOMEPAGE="https://github.com/CensoredUsername/picklemagic"
+LICENSE="WTFPL-2"
+SLOT="0"
+IUSE="doc"
+
+BDEPEND="doc? ( dev-python/sphinx )"
+
+src_compile() {
+       use doc && emake -C doc html
+}
+
+src_install() {
+       default
+       python_foreach_impl python_domodule *.py
+       use doc && dodoc -r doc/build/html
+}