summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Grozin <grozin@gentoo.org>2018-05-20 15:41:20 +0700
committerAndrey Grozin <grozin@gentoo.org>2018-05-20 15:41:20 +0700
commit51aeaa4b41c29a0247523910cbec019a5c7284c4 (patch)
tree106a27592ce30cd73625906d468437fb0d89cd16
parentdev-ruby/rdoc: fix building with LANG=C (diff)
downloadgentoo-51aeaa4b41c29a0247523910cbec019a5c7284c4.tar.gz
gentoo-51aeaa4b41c29a0247523910cbec019a5c7284c4.tar.bz2
gentoo-51aeaa4b41c29a0247523910cbec019a5c7284c4.zip
dev-python/random2: initial import
Package-Manager: Portage-2.3.19, Repoman-2.3.6
-rw-r--r--dev-python/random2/Manifest1
-rw-r--r--dev-python/random2/metadata.xml10
-rw-r--r--dev-python/random2/random2-1.0.1.ebuild17
3 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/random2/Manifest b/dev-python/random2/Manifest
new file mode 100644
index 00000000000..593715f790f
--- /dev/null
+++ b/dev-python/random2/Manifest
@@ -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
index 00000000000..33b8bf253aa
--- /dev/null
+++ b/dev-python/random2/metadata.xml
@@ -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
index 00000000000..a4864a8f327
--- /dev/null
+++ b/dev-python/random2/random2-1.0.1.ebuild
@@ -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}]"