From 678cbe18a8ec10722f4a523aa7d4c55308014474 Mon Sep 17 00:00:00 2001 From: Fabian Date: Sun, 21 Jul 2013 11:34:33 +0000 Subject: [PATCH] openssl group: updated pypy --- pypy/LICENSE | 154 ++++++++++++++++++++++++++++++++++++++++++++++++++ pypy/PKGBUILD | 45 ++++++++------- 2 files changed, 176 insertions(+), 23 deletions(-) create mode 100644 pypy/LICENSE diff --git a/pypy/LICENSE b/pypy/LICENSE new file mode 100644 index 000000000..7fc6952b0 --- /dev/null +++ b/pypy/LICENSE @@ -0,0 +1,154 @@ +License for files in the pypy/ directory +================================================== + +Except when otherwise stated (look for LICENSE files in directories or +information at the beginning of each file) all software and +documentation in the 'pypy' directories is licensed as follows: + + The MIT License + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or + sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL + THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + + +PyPy Copyright holders 2003-2010 +----------------------------------- + +Except when otherwise stated (look for LICENSE files or information at +the beginning of each file) the files in the 'pypy' directory are each +copyrighted by one or more of the following people and organizations: + + Armin Rigo + Maciej Fijalkowski + Carl Friedrich Bolz + Samuele Pedroni + Antonio Cuni + Michael Hudson + Christian Tismer + Holger Krekel + Eric van Riet Paap + Richard Emslie + Anders Chrigstrom + Amaury Forgeot d Arc + Aurelien Campeas + Anders Lehmann + Niklaus Haldimann + Seo Sanghyeon + Leonardo Santagada + Lawrence Oluyede + Jakub Gustak + Guido Wesdorp + Benjamin Peterson + Alexander Schremmer + Niko Matsakis + Ludovic Aubry + Alex Martelli + Toon Verwaest + Stephan Diehl + Adrien Di Mascio + Stefan Schwarzer + Tomek Meka + Patrick Maupin + Jacob Hallen + Laura Creighton + Bob Ippolito + Camillo Bruni + Simon Burton + Bruno Gola + Alexandre Fayolle + Marius Gedminas + Guido van Rossum + Valentino Volonghi + Adrian Kuhn + Paul deGrandis + Gerald Klix + Wanja Saatkamp + Anders Hammarquist + Oscar Nierstrasz + Eugene Oden + Lukas Renggli + Guenter Jantzen + Dinu Gherman + Bartosz Skowron + Georg Brandl + Ben Young + Jean-Paul Calderone + Nicolas Chauvat + Rocco Moretti + Michael Twomey + boria + Jared Grubb + Olivier Dormond + Stuart Williams + Jens-Uwe Mager + Justas Sadzevicius + Mikael Schönenberg + Brian Dorsey + Jonathan David Riehl + Beatrice During + Elmo Mäntynen + Andreas Friedge + Alex Gaynor + Anders Qvist + Alan McIntyre + Bert Freudenberg + + Heinrich-Heine University, Germany + Open End AB (formerly AB Strakt), Sweden + merlinux GmbH, Germany + tismerysoft GmbH, Germany + Logilab Paris, France + DFKI GmbH, Germany + Impara, Germany + Change Maker, Sweden + + +License for 'lib-python/2.5.2' and 'lib-python/2.5.2-modified' +============================================================== + +Except when otherwise stated (look for LICENSE files or +copyright/license information at the beginning of each file) the files +in the 'lib-python/2.5.2' and 'lib-python/2.5.2-modified' directories +are all copyrighted by the Python Software Foundation and licensed under +the Python Software License of which you can find a copy here: +http://www.python.org/doc/Copyright.html + +License for 'pypy/translator/jvm/src/jna.jar' +============================================= + +The file 'pypy/translator/jvm/src/jna.jar' is licensed under the GNU +Lesser General Public License of which you can find a copy here: +http://www.gnu.org/licenses/lgpl.html + +License for 'pypy/translator/jvm/src/jasmin.jar' +================================================ + +The file 'pypy/translator/jvm/src/jasmin.jar' is copyright (c) 1996-2004 Jon Meyer +and distributed with permission. The use of Jasmin by PyPy does not imply +that PyPy is endorsed by Jon Meyer nor any of Jasmin's contributors. Furthermore, +the following disclaimer applies to Jasmin: + +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. diff --git a/pypy/PKGBUILD b/pypy/PKGBUILD index 08a4cdef8..587af4858 100644 --- a/pypy/PKGBUILD +++ b/pypy/PKGBUILD @@ -1,44 +1,43 @@ -# Maintainer: Daniele Cocca +# Maintainer: Fabian Kosmale +# Contributor: Daniele Cocca pkgname=pypy -pkgver=1.9 -_shasum=('341e1e3821ff') -pkgrel=2 +pkgver=2.0.2 +_shasum=('f66246c46ca3') +pkgrel=1 pkgdesc="PyPy is a fast, compliant alternative implementation of the Python language (2.7.1)." arch=('x86_64') url="http://www.pypy.org/" license=('MIT') -depends=('expat' 'zlib' 'bzip2' 'openssl' 'python-greenlet') -makedepends=('pypy') -source=("https://bitbucket.org/${pkgname}/${pkgname}/get/release-${pkgver}.tar.bz2") -md5sums=('f92c0171a9578a3e4a0f74947ec596ab') +depends=('expat' 'zlib' 'bzip2' 'openssl' 'python-greenlet' 'libffi') +makedepends=('pypy' 'sqlite3') +source=("https://bitbucket.org/${pkgname}/${pkgname}/downloads/$pkgname-$pkgver-src.tar.bz2" "LICENSE") +options=(!buildflags) +md5sums=('c26662e348159b460057548ddaf35333' + 'a6ed60c010618fd5bb8bad3570c5b8bd') build() { - cd "${srcdir}/${pkgname}-${pkgname}-${_shasum}" - cd "pypy/translator/goal" + cd "${srcdir}"/${pkgname}-${pkgver}-src/pypy/goal - pypy translate.py -Ojit - - # Switch to this one instead, if the default one saturates your memory: - # PYPY_GC_MAX_DELTA=200MB pypy --jit loop_longevity=300 ./translate.py -Ojit + # here you can boostrap with python if needed + pypy ../../rpython/bin/rpython -Ojit targetpypystandalone } package() { - cd "${srcdir}/${pkgname}-${pkgname}-${_shasum}" install -D -m644 LICENSE "${pkgdir}/usr/share/licences/${pkgname}/LICENSE" + cd "${srcdir}"/${pkgname}-${pkgver}-src/pypy/tool/release - cd "pypy/tool/release" - # Clean up the /tmp directory from previous packaging attempts - rm -r "/tmp/usession-release-${pkgver}"-* - # Generate the PyPy release tarball - pypy package.py ../../.. "${pkgname}" - # Then, install it under "${pkgdir}/opt" - install -d -m755 "${pkgdir}/opt" - tar -jxvf "/tmp/usession-release-${pkgver}-0/build/${pkgname}.tar.bz2" -C "${pkgdir}/opt" + cd "${srcdir}"/${pkgname}-${pkgver}-src/pypy/tool/release + + pypy package.py ../../../ pypy pypy-c "${srcdir}"/${pkgname}.tar.bz2 + + mkdir -p "${pkgdir}"/opt + tar x -C "${pkgdir}"/opt -f "${srcdir}"/${pkgname}.tar.bz2 # Install binary symlink install -d -m755 "${pkgdir}/usr/bin" ln -sf "/opt/${pkgname}/bin/pypy" "${pkgdir}/usr/bin/pypy" + } # vim:set ts=2 sw=2 et: