summaryrefslogtreecommitdiff
path: root/dev-python/picklemagic
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/picklemagic
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
Diffstat (limited to 'dev-python/picklemagic')
-rw-r--r--dev-python/picklemagic/Manifest1
-rw-r--r--dev-python/picklemagic/metadata.xml22
-rw-r--r--dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild30
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/picklemagic/Manifest b/dev-python/picklemagic/Manifest
new file mode 100644
index 000000000000..f18140d20c10
--- /dev/null
+++ b/dev-python/picklemagic/Manifest
@@ -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
index 000000000000..1202ca83827e
--- /dev/null
+++ b/dev-python/picklemagic/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="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.
+ Features:
+ * Forgiving: Extracts as much data as possible from the pickle, even if class definitions are unavailable.
+ * Safe: You can safely unpickle data structures from unknown sources
+ * Easy to use: Tools are provided which make it possible to code around the unpickled datastructures as if they were created from the actual class definitions.
+ * Customizeable: Most functionality is easily subclassable to suit your needs.
+ * Create pickles as if you were writing python: Via a few constructs it's possible to create custom pickles with the ease of writing normal python.
+ * Works in both python 2 and 3
+ </longdescription>
+ <upstream>
+ <remote-id type="github">CensoredUsername/picklemagic</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</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
index 000000000000..66c0a794e6ba
--- /dev/null
+++ b/dev-python/picklemagic/picklemagic-0.0_pre20160415.ebuild
@@ -0,0 +1,30 @@
+# 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 )"
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${DEPEND}"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_compile() {
+ use doc && emake -C doc html
+}
+
+src_install() {
+ default
+ python_foreach_impl python_domodule *.py
+ use doc && dodoc -r doc/build/html
+}