dev-python/random2: initial import
authorAndrey Grozin <grozin@gentoo.org>
Sun, 20 May 2018 08:41:20 +0000 (15:41 +0700)
committerAndrey Grozin <grozin@gentoo.org>
Sun, 20 May 2018 08:41:20 +0000 (15:41 +0700)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-python/random2/Manifest [new file with mode: 0644]
dev-python/random2/metadata.xml [new file with mode: 0644]
dev-python/random2/random2-1.0.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/random2/Manifest b/dev-python/random2/Manifest
new file mode 100644 (file)
index 0000000..593715f
--- /dev/null
@@ -0,0 +1 @@
+DIST random2-1.0.1.zip 21088 BLAKE2B 69747711e355d3dea2b16562a6b9cdaa170732172e9eaac9a5cee4b8058f569e0c4527aec89e408e6472168fdecfc52b87703d23f153ec04f6ed2c049bcd162a SHA512 31de31c27bc6e07e99c24d30e97d9ddc3085fe557bcb0725881d4ab0b4c06e6208f64ba6267098c7b1be4f115ad45b399e841beecc90f71da2fb7d82982e75ff
diff --git a/dev-python/random2/metadata.xml b/dev-python/random2/metadata.xml
new file mode 100644 (file)
index 0000000..33b8bf2
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>grozin@gentoo.org</email>
+       </maintainer>
+       <longdescription>
+       Python-2.7's random module ported to python3.
+       </longdescription>
+</pkgmetadata>
diff --git a/dev-python/random2/random2-1.0.1.ebuild b/dev-python/random2/random2-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..a4864a8
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python3_{5,6} )
+inherit distutils-r1 eutils
+
+DESCRIPTION="Python-2.7 random module ported to python-3"
+HOMEPAGE="https://pypi.org/project/random2/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="app-arch/unzip
+       dev-python/setuptools[${PYTHON_USEDEP}]"