From 46e3b6f7493c2123b94511e7fc98f69de2e373fe Mon Sep 17 00:00:00 2001 From: OscarL Date: Sun, 2 Apr 2023 04:27:31 -0300 Subject: [PATCH] gdata: retire recipe. (#8228) Reasons: - Was for Python 2.7 only (and we're using 3.9 as default). - Not required by anything in-tree. - Last release in 2013, last commit in 2016, and Google has archived (made read-only) the repo in Dec 2022. For kicks: it supports things like Google Notebook API, which Google killed ages ago :-) --- dev-python/gdata/gdata-2.0.18.recipe | 68 ---------------------------- 1 file changed, 68 deletions(-) delete mode 100644 dev-python/gdata/gdata-2.0.18.recipe diff --git a/dev-python/gdata/gdata-2.0.18.recipe b/dev-python/gdata/gdata-2.0.18.recipe deleted file mode 100644 index 15826ec56..000000000 --- a/dev-python/gdata/gdata-2.0.18.recipe +++ /dev/null @@ -1,68 +0,0 @@ -SUMMARY="Python client library for Google data APIs" -DESCRIPTION=" -The Google Data APIs (Google Data) provide a simple protocol \ -for reading and writing data on the web. Though it is possible \ -to use these services with a simple HTTP client, this library \ -provides helpful tools to streamline your code and keep up with \ -server-side changes. -" -HOMEPAGE=" - https://github.com/google/gdata-python-client - http://code.google.com/p/gdata-python-client/ - http://pypi.python.org/pypi/gdata - " -SOURCE_URI="https://pypi.python.org/packages/source/g/gdata/gdata-$portVersion.tar.gz" -CHECKSUM_SHA256="56e7d22de819c22b13ceb0fe1869729b4287f89ebbd4bb55380d7bcf61a1fdb6" -LICENSE="Apache v2" -COPYRIGHT="2006-2014 Google Inc." -REVISION="2" - -ARCHITECTURES="any" - -PROVIDES=" - $portName = $portVersion - " -REQUIRES=" - haiku - " - -BUILD_REQUIRES=" - haiku_devel - " - -PYTHON_PACKAGES=(python) -PYTHON_VERSIONS=(2.7) -for i in "${!PYTHON_PACKAGES[@]}"; do -pythonPackage=${PYTHON_PACKAGES[i]} -pythonVersion=${PYTHON_VERSIONS[$i]} -eval "PROVIDES_${pythonPackage}=\"\ - ${portName}_$pythonPackage = $portVersion\ - \"; \ -REQUIRES_$pythonPackage=\"\ - haiku\n\ - cmd:python$pythonVersion\ - \"" -BUILD_REQUIRES="$BUILD_REQUIRES - setuptools_$pythonPackage" -BUILD_PREREQUIRES="$BUILD_PREREQUIRES - cmd:python$pythonVersion" -done - -INSTALL() -{ - for i in "${!PYTHON_PACKAGES[@]}"; do - pythonPackage=${PYTHON_PACKAGES[i]} - pythonVersion=${PYTHON_VERSIONS[$i]} - - python=python$pythonVersion - installLocation=$prefix/lib/$python/vendor-packages/ - export PYTHONPATH=$installLocation:$PYTHONPATH - mkdir -p $installLocation - rm -rf build - $python setup.py build install \ - --root=/ --prefix=$prefix - - packageEntries $pythonPackage \ - $prefix/lib/python* - done -}