summaryrefslogtreecommitdiff
path: root/dev-python/yenc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/yenc
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/yenc')
-rw-r--r--dev-python/yenc/Manifest6
-rw-r--r--dev-python/yenc/files/yenc-remove-cflags.patch11
-rw-r--r--dev-python/yenc/metadata.xml7
-rw-r--r--dev-python/yenc/yenc-0.4.0-r1.ebuild24
4 files changed, 48 insertions, 0 deletions
diff --git a/dev-python/yenc/Manifest b/dev-python/yenc/Manifest
new file mode 100644
index 000000000000..4485f500e532
--- /dev/null
+++ b/dev-python/yenc/Manifest
@@ -0,0 +1,6 @@
+AUX yenc-remove-cflags.patch 489 SHA256 884e22c81520bd3d22f5d83bb7a3fd2dd9963914544c2420add3306ebfa63b0e SHA512 ab8d6522fd7355a1d9680126faec3a8588e1766c9ab4d46eced70f0f6db7482b1994e05d61d7246b4cc08dfa64a0aa88e85edda8a00efb0f3d95e92edbde37cc WHIRLPOOL 0df47c7b794631078dd7f4fede1488e2f2fcc1cffd248dd1fffeaf8f78a72405b4d0d9e479448cc3bcf4c1963609e9cabe01819ef04ed453b5f52fd9038bac80
+DIST yenc-0.4.0.tar.gz 63156 SHA256 075f6c4e4f43b7c6dafac579eabb17287b62d80e9147cbea0b046bc3ee8edd2f SHA512 06adf10daa3eb56d1960e48c4a42c432821b8c25fcf6c703560efb9d902dc7619b79509a409f436790506f12f172fe0f0c6c1bf6bff7ab5ce3856b272c62c4d9 WHIRLPOOL e364ae573cfe57f51b1c7a47d1fd447bbd8144bce481d530fd1cda33ec41be9a3d8b05a6a92bdf6269997e5632bbdea426a1b4f324d74c2a9c78f35b5e337fb7
+EBUILD yenc-0.4.0-r1.ebuild 586 SHA256 deef613956db347aa872c86f563c53c7cf519f2431f50945a5f1dbe37c96cae7 SHA512 66156b7aac333c691f09583ba1d4df118ec6eaa717f3d6728dea293d992f866f6d9ce23f1059130f464109ad8a028736ad67dd6e773c94931498bf20239f4e69 WHIRLPOOL c6f695fe9a0618b65131ade4215149b5abb76c93800ca0a3d9fcfb471ca4320a644e70930dbbeefcdda4ab56efb5b38187e9b3bafdef01b9b7c3e0743f2f56a7
+MISC ChangeLog 2417 SHA256 7a46fc1343035cc575d3f92c2226761af1109223fc1cbd62d093a94f1018afe5 SHA512 c4d8e4801bcc08ffe9408b80aa71071b4a01f6f4582b04a91077b695e75398cede00b050480b0e5fe6a15e339efc6379c53c085fc4042291d26c724ad370d3d5 WHIRLPOOL 96a3fe5675e27776a453b65783079ec3eee06a9dfae51d0e097ef00b82d998069dfc6e51f43dc3943ba496a83f9ef1c04d81f330c2098817a3e81c16ed1717a2
+MISC ChangeLog-2015 959 SHA256 91157357f774ddf1ab0eeb9070c7c1096bdb1abe1d6fc6cd5bc120fe4fb92763 SHA512 cf3825bb37fd56d5759c7a3bd8c7a78eb9767442ebcc7354475cca5b3f95f15c679c2edba211e8714352f8b4d5929940db3d07e18591177c7cced4fc223dd0d5 WHIRLPOOL 7a01380dff68fd44e744a28a0d2c99bb4896247d3c41cd9c64347ff55999858853fce67a51e068df93d891d6bff4412255f504ade829decb0533cfafefa174e0
+MISC metadata.xml 220 SHA256 f5e6323054e9208bc11695e184550973ea677e8a34b8c14963e15789b52823d9 SHA512 878b4526d51f7901900ec97fb85bb90e0d1099d29bc8e49dd7cea6258da0737e71aec3377f1bc2621cf96fcf7c5699e424bbc5fb721af2f365742725612fe50d WHIRLPOOL 34f5893d07df7bbf34847492861e50da5a3a90c58828403291c37e8fec126650b9b479eafd897be85ee62d2662ef23a4b49c09baa32e1d2f04a8830f7c57f58a
diff --git a/dev-python/yenc/files/yenc-remove-cflags.patch b/dev-python/yenc/files/yenc-remove-cflags.patch
new file mode 100644
index 000000000000..27721c727db3
--- /dev/null
+++ b/dev-python/yenc/files/yenc-remove-cflags.patch
@@ -0,0 +1,11 @@
+--- setup.py 2011-09-06 09:04:33.000000000 +0200
++++ setup.py.NEW 2012-07-07 15:33:13.295906002 +0200
+@@ -33,7 +33,7 @@
+ platforms = ["Unix"],
+ package_dir = { '': 'lib' },
+ py_modules = ["yenc"],
+- ext_modules = [Extension("_yenc",["src/_yenc.c"],extra_compile_args=["-O2","-g"])],
++ ext_modules = [Extension("_yenc",["src/_yenc.c"])],
+ classifiers = [
+ "Programming Language :: Python",
+ "Programming Language :: Python :: 2.5",
diff --git a/dev-python/yenc/metadata.xml b/dev-python/yenc/metadata.xml
new file mode 100644
index 000000000000..664b1a9c9e03
--- /dev/null
+++ b/dev-python/yenc/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>jsbronder@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-python/yenc/yenc-0.4.0-r1.ebuild b/dev-python/yenc/yenc-0.4.0-r1.ebuild
new file mode 100644
index 000000000000..bd25cb3982c7
--- /dev/null
+++ b/dev-python/yenc/yenc-0.4.0-r1.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Module providing raw yEnc encoding/decoding"
+HOMEPAGE="http://www.golug.it/yenc.html"
+SRC_URI="http://www.golug.it/pub/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# Remove forced CFLAG on setup.py
+PATCHES=( "${FILESDIR}"/${PN}-remove-cflags.patch )
+DOCS=( README TODO CHANGES doc/${PN}-draft.1.3.txt )
+
+python_test() {
+ "${PYTHON}" test/test.py || die "Test failed."
+}