From 01a56ed60caf3ee96a1b79042e751a923f00a209 Mon Sep 17 00:00:00 2001 From: Lukas Rusak Date: Fri, 18 Nov 2016 00:02:39 -0800 Subject: [PATCH] enum34: add package --- .../addons/addon-depends/enum34/package.mk | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 packages/addons/addon-depends/enum34/package.mk diff --git a/packages/addons/addon-depends/enum34/package.mk b/packages/addons/addon-depends/enum34/package.mk new file mode 100644 index 0000000000..7337a61e6d --- /dev/null +++ b/packages/addons/addon-depends/enum34/package.mk @@ -0,0 +1,42 @@ +################################################################################ +# This file is part of LibreELEC - https://libreelec.tv +# Copyright (C) 2016 Team LibreELEC +# +# LibreELEC is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# LibreELEC is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LibreELEC. If not, see . +################################################################################ + +PKG_NAME="enum34" +PKG_VERSION="1.1.6" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="BSD" +PKG_SITE="https://bitbucket.org/stoneleaf/enum34" +PKG_URL="https://bitbucket.org/stoneleaf/$PKG_NAME/get/$PKG_VERSION.tar.bz2" +PKG_SOURCE_DIR="stoneleaf-enum34-*" +PKG_DEPENDS_TARGET="toolchain Python distutilscross:host" +PKG_PRIORITY="optional" +PKG_SECTION="python" +PKG_SHORTDESC="Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4" +PKG_LONGDESC="Python 3.4 Enum backported to 3.3, 3.2, 3.1, 2.7, 2.6, 2.5, and 2.4" + +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" + +make_target() { + python setup.py build +} + +makeinstall_target() { + : +}