Browse Source

jdcal,et_xmlfile,rcssmin: remove un-needed python packages

This change removes a series of Python packages that are added to
seafile-seahub and are not needed.
After some investigation into seafile, there are no references for it.

These are some of the low-hanging fruits.
They're not used [not sure when they were], and these packages were born
out of some weird sprints somewhere and forgotten on web and left
un-maintained.

So, remove them.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lilik-openwrt-22.03
Alexandru Ardelean 6 years ago
parent
commit
c74c1a22ec
4 changed files with 3 additions and 151 deletions
  1. +0
    -47
      lang/python/et_xmlfile/Makefile
  2. +0
    -47
      lang/python/jdcal/Makefile
  3. +0
    -54
      lang/python/rcssmin/Makefile
  4. +3
    -3
      net/seafile-seahub/Makefile

+ 0
- 47
lang/python/et_xmlfile/Makefile View File

@ -1,47 +0,0 @@
#
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=et_xmlfile
PKG_VERSION:=1.0.1
PKG_RELEASE:=1
PKG_LICENSE:=MIT
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://pypi.python.org/packages/source/e/et_xmlfile/
PKG_HASH:=614d9722d572f6246302c4491846d2c393c199cfa4edc9af593437691683335b
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
define Package/et_xmlfile
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
TITLE:=An implementation of lxml.xmlfile for the standard library
URL:=https://bitbucket.org/openpyxl/et_xmlfile
DEPENDS:=+python
endef
define Package/et_xmlfile/description
An implementation of lxml.xmlfile for the standard library
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
define Package/et_xmlfile/install
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef
$(eval $(call BuildPackage,et_xmlfile))

+ 0
- 47
lang/python/jdcal/Makefile View File

@ -1,47 +0,0 @@
#
# Copyright (C) 2007-2017 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=jdcal
PKG_VERSION:=1.4
PKG_RELEASE:=1
PKG_LICENSE:=BSD-3-Clause
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/j/jdcal
PKG_HASH:=ea0a5067c5f0f50ad4c7bdc80abad3d976604f6fb026b0b3a17a9d84bb9046c9
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
define Package/jdcal
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
TITLE:=Julian dates from proleptic Gregorian and Julian calendars.
URL:=https://github.com/phn/jdcal
DEPENDS:=+python
endef
define Package/jdcal/description
Julian dates from proleptic Gregorian and Julian calendars.
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
define Package/jdcal/install
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef
$(eval $(call BuildPackage,jdcal))

+ 0
- 54
lang/python/rcssmin/Makefile View File

@ -1,54 +0,0 @@
#
# Copyright (C) 2007-2016 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=rcssmin
PKG_VERSION:=1.0.6
PKG_RELEASE=2
PKG_LICENSE:=Apache-2.0
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/r/rcssmin
PKG_HASH:=ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270
include $(INCLUDE_DIR)/package.mk
include ../python-package.mk
define Package/rcssmin
SUBMENU:=Python
SECTION:=lang
CATEGORY:=Languages
TITLE:=Fast CSS minifier for Python
MAINTAINER:=Gergely Kiss <mail.gery@gmail.com>
URL:=http://opensource.perlig.de/rcssmin/
DEPENDS:=+python
endef
define Package/rcssmin/description
Fast CSS minifier for Python
endef
define Build/Compile
$(call Build/Compile/PyMod,,install --prefix=/usr --root=$(PKG_INSTALL_DIR))
endef
define Build/InstallDev
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef
define Package/rcssmin/install
$(INSTALL_DIR) $(1)$(PYTHON_PKG_DIR)
$(CP) \
$(PKG_INSTALL_DIR)$(PYTHON_PKG_DIR)/* \
$(1)$(PYTHON_PKG_DIR)
endef
$(eval $(call BuildPackage,rcssmin))

+ 3
- 3
net/seafile-seahub/Makefile View File

@ -31,9 +31,9 @@ define Package/seafile-seahub
DEPENDS:=+python-simplejson +python +pillow +python-chardet +django +django-appconf \
+django-compressor +django-constance +django-formtools +django-jsonfield \
+django-picklefield +django-postoffice +django-restframework \
+django-simple-captcha +django-statici18n +django-webpack-loader +et_xmlfile \
+flup +gunicorn +jdcal +openpyxl +python-dateutil +python-mysql \
+python-qrcode +python-requests +python-requests-oauthlib +python-pytz +rcssmin
+django-simple-captcha +django-statici18n +django-webpack-loader \
+flup +gunicorn +openpyxl +python-dateutil +python-mysql \
+python-qrcode +python-requests +python-requests-oauthlib +python-pytz
endef
define Build/Configure


Loading…
Cancel
Save