summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrent s2017-10-19 06:44:02 -0400
committerbrent s2017-10-19 06:44:02 -0400
commite7d8572a91d80c87d55c0386de96efbfbc470691 (patch)
treebfc8acc29e2bd143f26418f9446192a22cdd1da6
parent1b53ac60e60653e59828c542dd659e7a1855c461 (diff)
downloadaur-e7d8572a91d80c87d55c0386de96efbfbc470691.tar.gz
oops, forgot the license. heh
-rw-r--r--.SRCINFO9
-rw-r--r--LICENSE49
-rw-r--r--LICENSE.sigbin0 -> 566 bytes
-rw-r--r--PKGBUILD14
4 files changed, 65 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a287862f9dde..1ae9356e8d34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Thu Oct 19 10:21:49 UTC 2017
+# Thu Oct 19 10:44:02 UTC 2017
pkgbase = python-pyqrcode
pkgdesc = A QR code generator written purely in Python with SVG, EPS, PNG and terminal output (fixed for python3)
pkgver = 1.2.1
- pkgrel = 2
+ pkgrel = 3
url = https://pythonhosted.org/PyQRCode/
arch = i686
arch = x86_64
@@ -17,11 +17,14 @@ pkgbase = python-pyqrcode
optdepends = python-pypng: PNG generation support
optdepends = python2-pypng: PNG generation support
source = https://files.pythonhosted.org/packages/source/P/PyQRCode/PyQRCode-1.2.1.tar.gz
+ source = LICENSE
source = PyQRCode-1.2.1.tar.gz.sig
+ source = LICENSE.sig
sha512sums = 784262cb15c10f3581b0caeac6bba046686b35b8c0709ee78684b805b6cba49f4250a004dc5f7d393cc25929cbf815c6c3a94e284a77d20ff7224a8dde3a036a
+ sha512sums = 829167e63453a7be5089a8d1318645a69896147d81cb9591a2569bbbbd8d726a8d565d2d6306c1edf706e2367cf2f9a1de0606a1fe362190effa9797b693e1cb
+ sha512sums = SKIP
sha512sums = SKIP
pkgname = python-pyqrcode
depends = python
- depends = mdadm
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 000000000000..c82615ac5126
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,49 @@
+Copyright (c) 2011, Lincoln Loop
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ * Neither the package name nor the names of its contributors may be
+ used to endorse or promote products derived from this software without
+ specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+
+-------------------------------------------------------------------------------
+
+
+Original text and license from the pyqrnative package where this was forked
+from (http://code.google.com/p/pyqrnative):
+
+#Ported from the Javascript library by Sam Curren
+#
+#QRCode for Javascript
+#http://d-project.googlecode.com/svn/trunk/misc/qrcode/js/qrcode.js
+#
+#Copyright (c) 2009 Kazuhiko Arase
+#
+#URL: http://www.d-project.com/
+#
+#Licensed under the MIT license:
+# http://www.opensource.org/licenses/mit-license.php
+#
+# The word "QR Code" is registered trademark of
+# DENSO WAVE INCORPORATED
+# http://www.denso-wave.com/qrcode/faqpatent-e.html
+
diff --git a/LICENSE.sig b/LICENSE.sig
new file mode 100644
index 000000000000..1c1ede6d3892
--- /dev/null
+++ b/LICENSE.sig
Binary files differ
diff --git a/PKGBUILD b/PKGBUILD
index 7115b2700e6a..dbd111a44cec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ validpgpkeys=('748231EBCBD808A14F5E85D28C004C2F93481F6B')
# News updates for packages can be followed at https://devblog.square-r00t.net
pkgname=python-pyqrcode
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="A QR code generator written purely in Python with SVG, EPS, PNG and terminal output (fixed for python3)"
arch=( 'i686' 'x86_64' )
url="https://pythonhosted.org/PyQRCode/"
@@ -17,20 +17,26 @@ install=
changelog=
noextract=()
source=("https://files.pythonhosted.org/packages/source/P/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
- "${_pkgname}-${pkgver}.tar.gz.sig")
+ "LICENSE"
+ "${_pkgname}-${pkgver}.tar.gz.sig"
+ "LICENSE.sig")
sha512sums=('784262cb15c10f3581b0caeac6bba046686b35b8c0709ee78684b805b6cba49f4250a004dc5f7d393cc25929cbf815c6c3a94e284a77d20ff7224a8dde3a036a'
+ '829167e63453a7be5089a8d1318645a69896147d81cb9591a2569bbbbd8d726a8d565d2d6306c1edf706e2367cf2f9a1de0606a1fe362190effa9797b693e1cb'
+ 'SKIP'
'SKIP')
package_python-pyqrcode() {
- depends=('python' 'mdadm')
+ depends=('python')
cd "${srcdir}/${_pkgname}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m 0644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/${pkgname}
}
package_python2-pyqrcode() {
- depends=('python2' 'mdadm')
+ depends=('python2')
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m 0644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/${pkgname}
}