summaryrefslogtreecommitdiff
path: root/dev-python/micawber
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/micawber
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/micawber')
-rw-r--r--dev-python/micawber/Manifest4
-rw-r--r--dev-python/micawber/files/micawber-0.3.2-remove-examples-from-setup.py.patch20
-rw-r--r--dev-python/micawber/metadata.xml11
-rw-r--r--dev-python/micawber/micawber-0.3.3.ebuild25
4 files changed, 60 insertions, 0 deletions
diff --git a/dev-python/micawber/Manifest b/dev-python/micawber/Manifest
new file mode 100644
index 000000000000..7c7674ddde6d
--- /dev/null
+++ b/dev-python/micawber/Manifest
@@ -0,0 +1,4 @@
+AUX micawber-0.3.2-remove-examples-from-setup.py.patch 652 BLAKE2B b7551df8c1bdc16cbb10b54e071b965a273d4b51192cdf17f50d516580a6b52065d10b46274c1e3a90a063d87fe204111ab65eac2c4a937a9e59728ae9381d9c SHA512 225bfd7c7306170c7c6d0b564c84092b015ac078ac597764c0029613209851e157ae5bfa2e910a5368f540e68c5a01aa44df78511dba753c6d875b8eb144cda5
+DIST micawber-0.3.3.tar.gz 32200 BLAKE2B 570c6e59cc73a7ddd878c6c03cba1600159a44cf1b1ce6a2e8d2311e5747352143cc7831a868cd27f68b36d67923860ec3a8c7f36a7a63aeb2c51d08f1fb2c02 SHA512 15f5e3f85e6d3bf44e6a4a3ae975872acb2e9093e15b56a5a3b24573332c811955c84f0ee69d327334b22fa61b29a51ce14657fc7bf2f486268145965c159bc0
+EBUILD micawber-0.3.3.ebuild 663 BLAKE2B 378ac114dc35576d517f760ec43e53195d8cd2dffdfa4153f7fcb47cc6297729a37b620a2d93beebe112227000f36146273cf346a489dadb1f2dfc799c0e5b1e SHA512 6e3ff5f4e96cbed9dd2bf6eb923cf56767a38e0338174ef2dda7dfcfd303418e14ffd2dded2271215e73c6daf575f1afcc25a65210cec662054ce8e1ed629e2a
+MISC metadata.xml 332 BLAKE2B 1d2fa19b717b98bac1f2ad6fd261ce54360b6185671a3d1a51bc72080a6708196c0abcb5d5226dc0e4c693258caf85476a53d4b19d452b847e67a88adfed275c SHA512 9815d1b8eec3bf22a430737bc5a7dfc9e576f0f5ca79ca318a419dd911af378f94b63a6d457cba32bbf4e4939cea3690bad4e6be918ed79324f06f7eef42aaa0
diff --git a/dev-python/micawber/files/micawber-0.3.2-remove-examples-from-setup.py.patch b/dev-python/micawber/files/micawber-0.3.2-remove-examples-from-setup.py.patch
new file mode 100644
index 000000000000..3d031e8a91cd
--- /dev/null
+++ b/dev-python/micawber/files/micawber-0.3.2-remove-examples-from-setup.py.patch
@@ -0,0 +1,20 @@
+--- micawber-0.3.2.orig/setup.py 2015-03-30 02:08:40.000000000 +0800
++++ micawber-0.3.2/setup.py 2015-07-20 14:53:42.776972042 +0800
+@@ -13,16 +13,11 @@
+ author='Charles Leifer',
+ author_email='coleifer@gmail.com',
+ url='http://github.com/coleifer/micawber/',
+- packages=find_packages(),
++ packages=['micawber'],
+ package_data = {
+ 'micawber': [
+ 'contrib/mcdjango/templates/micawber/*.html',
+ ],
+- 'examples': [
+- #'requirements.txt',
+- '*/static/*.css',
+- '*/templates/*.html',
+- ],
+ },
+ classifiers=[
+ 'Development Status :: 4 - Beta',
diff --git a/dev-python/micawber/metadata.xml b/dev-python/micawber/metadata.xml
new file mode 100644
index 000000000000..740d13d52312
--- /dev/null
+++ b/dev-python/micawber/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">coleifer/micawber</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/micawber/micawber-0.3.3.ebuild b/dev-python/micawber/micawber-0.3.3.ebuild
new file mode 100644
index 000000000000..2b0beae68490
--- /dev/null
+++ b/dev-python/micawber/micawber-0.3.3.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit distutils-r1
+
+DESCRIPTION="A small library for extracting rich content from urls"
+HOMEPAGE="https://github.com/coleifer/micawber/"
+SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="examples"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+
+EXAMPLES=( examples/ )
+PATCHES=( "${FILESDIR}"/${PN}-0.3.2-remove-examples-from-setup.py.patch ) #555250
+
+python_install_all() {
+ distutils-r1_python_install_all
+ dodoc -r docs
+}