summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-gfx/qrencode-python
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-gfx/qrencode-python')
-rw-r--r--media-gfx/qrencode-python/Manifest2
-rw-r--r--media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch14
-rw-r--r--media-gfx/qrencode-python/metadata.xml11
-rw-r--r--media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild27
-rw-r--r--media-gfx/qrencode-python/qrencode-python-1.02_pre140921.ebuild24
5 files changed, 78 insertions, 0 deletions
diff --git a/media-gfx/qrencode-python/Manifest b/media-gfx/qrencode-python/Manifest
new file mode 100644
index 000000000000..ad69a6dd31f9
--- /dev/null
+++ b/media-gfx/qrencode-python/Manifest
@@ -0,0 +1,2 @@
+DIST qrencode-python-1.01.tar.gz 2456 SHA256 fd8cdabd743e2db7a1ad332d4f0fe037e5a7807cb2f1d32da3e39439088bb610 SHA512 fc0514038dc78556335744872ad94d48eb68991118f204a6547f2979d62694441d28c5eb67a8a34a096cd686a9ae10ce5f95753a0e3f676f6ad53b3792f6946c WHIRLPOOL d9a0e833437cf1640d6cfb4f84debef936898d88c0c3f5565499a4ef848be45a5c5b1eeeaf2cc8a098c4898183395db688152154d93314c1db693eaccaa285ce
+DIST qrencode-python-1.02_pre140921.tar.gz 2084 SHA256 8c3d5d2c5479f10aa1462a9bf95390b78b47043bf56e0f581ed61a3eb9507ccf SHA512 231c61f98f064d282611d14194de7b3c0a18faff0ed856722e39a6cc25f744442d77bd43418aec117c6e39ddd78a6ea770edee8992aa4e3cfce50254ac6526aa WHIRLPOOL 44009c565bff4c330a416653e7c3863a33b25290a71e4a800f920240b11428fa945ae1c854af5f5c9b5d1d508a915f97bfdbd7c15eee791b27628912f0edd452
diff --git a/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch b/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch
new file mode 100644
index 000000000000..0f0b2d4912e0
--- /dev/null
+++ b/media-gfx/qrencode-python/files/qrencode-python-1.01-PIL.patch
@@ -0,0 +1,14 @@
+ qrencode/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qrencode/__init__.py b/qrencode/__init__.py
+index 4ca5396..ba0c15e 100644
+--- a/qrencode/__init__.py
++++ b/qrencode/__init__.py
+@@ -1,5 +1,5 @@
+ from qr_encode import encode as _encode
+-import Image
++from PIL import Image
+
+
+ QR_ECLEVEL_L = 0
diff --git a/media-gfx/qrencode-python/metadata.xml b/media-gfx/qrencode-python/metadata.xml
new file mode 100644
index 000000000000..37654b3ecd0d
--- /dev/null
+++ b/media-gfx/qrencode-python/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>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">qrencode</remote-id>
+ <remote-id type="github">Arachnid/pyqrencode</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild b/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild
new file mode 100644
index 000000000000..2923de9e1599
--- /dev/null
+++ b/media-gfx/qrencode-python/qrencode-python-1.01-r1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A simple wrapper for the C qrencode library"
+HOMEPAGE="http://pypi.python.org/pypi/qrencode/ https://github.com/Arachnid/pyqrencode/"
+SRC_URI="mirror://pypi/q/qrencode/qrencode-${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="Apache-2.0"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ media-gfx/qrencode"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/qrencode-${PV}
+
+PATCHES=( "${FILESDIR}"/${P}-PIL.patch )
diff --git a/media-gfx/qrencode-python/qrencode-python-1.02_pre140921.ebuild b/media-gfx/qrencode-python/qrencode-python-1.02_pre140921.ebuild
new file mode 100644
index 000000000000..c73293004b68
--- /dev/null
+++ b/media-gfx/qrencode-python/qrencode-python-1.02_pre140921.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="A simple wrapper for the C qrencode library"
+HOMEPAGE="http://pypi.python.org/pypi/qrencode/ https://github.com/Arachnid/pyqrencode/"
+#SRC_URI="mirror://pypi/q/qrencode/qrencode-${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI="https://github.com/Arachnid/pyqrencode/tarball/486bb7b64e3ce5483f65e375a67da0fa6d02ca92 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="Apache-2.0"
+IUSE=""
+
+RDEPEND="
+ virtual/python-imaging[${PYTHON_USEDEP}]
+ media-gfx/qrencode"
+DEPEND="${RDEPEND}"