summaryrefslogtreecommitdiff
path: root/dev-util/unrpyc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-08-25 10:45:55 +0100
commit3cf7c3ef441822c889356fd1812ebf2944a59851 (patch)
treec513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-util/unrpyc
parent05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff)
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-util/unrpyc')
-rw-r--r--dev-util/unrpyc/Manifest3
-rw-r--r--dev-util/unrpyc/metadata.xml22
-rw-r--r--dev-util/unrpyc/unrpyc-1.1.3.ebuild49
3 files changed, 0 insertions, 74 deletions
diff --git a/dev-util/unrpyc/Manifest b/dev-util/unrpyc/Manifest
deleted file mode 100644
index 1762e729ae2c..000000000000
--- a/dev-util/unrpyc/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST unrpyc-1.1.3.tar.gz 77662 BLAKE2B e2fdf9015e67ee389ff84c49bd89c64d65178a26aaa7b8600202f491291e03a568bec2d8d09e47c407a9bcd025dab3b84e5167f07c9673d19bdb5bf7846c1eed SHA512 5883d58e11b2f52cffdeae744e17bf6bf2039340e53365f8ce58f716b991011bbca71c6473395a9d70c32bc77529eea3e7a9e3b8da7dc3cc8362cc0fdcbe5cf0
-EBUILD unrpyc-1.1.3.ebuild 1158 BLAKE2B 898637185a79afdcbf23cb55b096cf80dca9701272dc8c1386be048292cffd13dedf1bdda259adbff840a8967b50ae17bf8a0971d6bc3ef298fd37ecfddb56cd SHA512 852ff2ab7d68e6f4a155db4d0cb0b8cdae5e34a422e98f0e4b47dd8cb65c28bf78dd02d2508b36b7f04bfebfc068f3461ffc8a4a6d4616a3b5213eb909844936
-MISC metadata.xml 933 BLAKE2B 92842b89b4d9cdbc5f63ca4706f334179ec255fc834774ececb137eff7205d8ccd24142ef0fb92508087e05a6cfba2a8ffe5558315d45d3b3355632ba43e2e50 SHA512 f14501a139d75f1f71a136ed0f7acaf01aebf508e0a6b8981193ac594b8d9759c5283af93f24fd7aed56eafd88df42d9c659a909febee9196a0ccff1a7f607a8
diff --git a/dev-util/unrpyc/metadata.xml b/dev-util/unrpyc/metadata.xml
deleted file mode 100644
index 69df492b06ae..000000000000
--- a/dev-util/unrpyc/metadata.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?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>
- Unrpyc is a script to decompile Ren'Py (http://www.renpy.org/) compiled
- .rpyc script files. It will not extract files from .rpa archives.
- For that, use <pkg>app-arch/unrpa</pkg>.
- </longdescription>
- <upstream>
- <remote-id type="github">CensoredUsername/unrpyc</remote-id>
- </upstream>
- <use>
- <flag name="module">Build un.rpyc module for run-time decompiling</flag>
- <flag name="proto0">Use pickle protocol 0 for un-rpyc module. May be usefule for very old games</flag>
- <flag name="proto1">Use pickle protocol 1 for un-rpyc module. Default if no protocol is selected</flag>
- <flag name="proto2">Use pickle protocol 2 for un-rpyc module</flag>
- </use>
-</pkgmetadata>
diff --git a/dev-util/unrpyc/unrpyc-1.1.3.ebuild b/dev-util/unrpyc/unrpyc-1.1.3.ebuild
deleted file mode 100644
index e754cac60c4a..000000000000
--- a/dev-util/unrpyc/unrpyc-1.1.3.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1
-
-SRC_URI="https://github.com/CensoredUsername/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64 ~x86"
-DESCRIPTION="Ren'Py's rpyc scripts decompiler"
-HOMEPAGE="https://github.com/CensoredUsername/unrpyc"
-LICENSE="BSD-1 BSD"
-SLOT="0"
-
-IUSE="+module proto0 proto1 proto2"
-
-DEPEND="module? ( dev-python/picklemagic[${PYTHON_USEDEP}] )"
-
-src_prepare() {
- sed -i 's/unrpyc.py/unrpyc/g' README.md setup.py || die
- mv unrpyc.py unrpyc || die
- distutils-r1_src_prepare
-}
-
-src_compile() {
- distutils-r1_src_compile
-
- if use module; then
- local proto=1
- use proto0 && proto=0
- use proto1 && proto=1
- use proto2 && proto=2
-
- cd un.rpyc || die
- python_setup 'python2*'
- ./compile.py -p${proto} || die
- fi
-}
-
-src_install() {
- distutils-r1_src_install
-
- if use module; then
- install -Dpm 0644 -t "${ED}/usr/share/${PN}" un.rpyc/un.rpyc || die
- einfo "For run-time rpyc decompiling copy ${EPREFIX}/usr/share/${PN}/un.rpyc to your game dir."
- newdoc un.rpyc/README.md README-un.rpyc.md
- fi
-}