Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Dec 2024 16:25:15 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c5ed2336e1ec - main - www/py-tornado4: Remove obsoleted port
Message-ID:  <202412311625.4BVGPFju040876@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c5ed2336e1ec66221c2dd4643d378b26ec126bfb

commit c5ed2336e1ec66221c2dd4643d378b26ec126bfb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 16:16:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 16:22:38 +0000

    www/py-tornado4: Remove obsoleted port
    
    Use www/py-tornado instead.
---
 MOVED                                              |  1 +
 www/Makefile                                       |  1 -
 www/py-tornado4/Makefile                           | 36 ----------------------
 www/py-tornado4/distinfo                           |  3 --
 www/py-tornado4/files/patch-setup.py               | 12 --------
 .../files/patch-tornado-test-asyncio_test.py       | 12 --------
 www/py-tornado4/pkg-descr                          | 13 --------
 7 files changed, 1 insertion(+), 77 deletions(-)

diff --git a/MOVED b/MOVED
index e43767a2be06..01158859f36f 100644
--- a/MOVED
+++ b/MOVED
@@ -3769,3 +3769,4 @@ math/py-blis07|math/py-blis|2024-12-31|Remove obsoleted port. Use math/py-blis i
 security/py-pysaml26|security/py-pysaml2|2024-12-31|Remove obsoleted port. Use security/py-pysaml2 instead
 textproc/py-mistune2|textproc/py-mistune|2024-12-31|Remove obsoleted port. Use textproc/py-mistune instead
 textproc/py-rich12|textproc/py-rich|2024-12-31|Remove obsoleted port. Use textproc/py-rich instead
+www/py-tornado4|www/py-tornado|2024-12-31|Remove obsoleted port. Use www/py-tornado instead
diff --git a/www/Makefile b/www/Makefile
index 4cdcdb13c573..926a6960d238 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1882,7 +1882,6 @@
     SUBDIR += py-textile
     SUBDIR += py-ticketutil
     SUBDIR += py-tornado
-    SUBDIR += py-tornado4
     SUBDIR += py-tornado5
     SUBDIR += py-treq
     SUBDIR += py-ttrv
diff --git a/www/py-tornado4/Makefile b/www/py-tornado4/Makefile
deleted file mode 100644
index a44dc6d39e09..000000000000
--- a/www/py-tornado4/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-PORTNAME=	tornado
-PORTVERSION=	4.5.3
-PORTREVISION=	1
-CATEGORIES=	www python
-MASTER_SITES=	PYPI
-PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-PKGNAMESUFFIX=	4
-
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Python Web Server from FriendFeed
-WWW=		https://www.tornadoweb.org/
-
-LICENSE=	APACHE20
-LICENSE_FILE=	${WRKSRC}/LICENSE
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-
-USES=		cpe python
-USE_PYTHON=	autoplist concurrent pep517
-
-CONFLICTS_INSTALL=	${PYTHON_PKGNAMEPREFIX}tornado \
-			${PYTHON_PKGNAMEPREFIX}tornado5 \
-			${PYTHON_PKGNAMEPREFIX}tornado6
-
-CPE_VENDOR=	tornadoweb
-
-PORTSCOUT=	limit:^4\.
-
-post-install:
-	${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
-
-do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} -m tornado.test.runtests
-
-.include <bsd.port.mk>
diff --git a/www/py-tornado4/distinfo b/www/py-tornado4/distinfo
deleted file mode 100644
index 60c00546773a..000000000000
--- a/www/py-tornado4/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1520958958
-SHA256 (tornado-4.5.3.tar.gz) = 6d14e47eab0e15799cf3cdcc86b0b98279da68522caace2bd7ce644287685f0a
-SIZE (tornado-4.5.3.tar.gz) = 484221
diff --git a/www/py-tornado4/files/patch-setup.py b/www/py-tornado4/files/patch-setup.py
deleted file mode 100644
index dc22450431ac..000000000000
--- a/www/py-tornado4/files/patch-setup.py
+++ /dev/null
@@ -1,12 +0,0 @@
---- setup.py.orig	2015-11-06 20:08:26 UTC
-+++ setup.py
-@@ -147,9 +147,6 @@ setup(
-         # in the sdist tarball)
-         "tornado.test": [
-             "README",
--            "csv_translations/fr_FR.csv",
--            "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.mo",
--            "gettext_translations/fr_FR/LC_MESSAGES/tornado_test.po",
-             "options_test.cfg",
-             "static/robots.txt",
-             "static/sample.xml",
diff --git a/www/py-tornado4/files/patch-tornado-test-asyncio_test.py b/www/py-tornado4/files/patch-tornado-test-asyncio_test.py
deleted file mode 100644
index d59c0a88b756..000000000000
--- a/www/py-tornado4/files/patch-tornado-test-asyncio_test.py
+++ /dev/null
@@ -1,12 +0,0 @@
---- tornado/test/asyncio_test.py.orig	2018-01-05 03:07:44 UTC
-+++ tornado/test/asyncio_test.py
-@@ -46,7 +46,8 @@ class AsyncIOLoopTest(AsyncTestCase):
-         if hasattr(asyncio, 'ensure_future'):
-             ensure_future = asyncio.ensure_future
-         else:
--            ensure_future = asyncio.async
-+            # async is a reserved word in Python 3.7
-+            ensure_future = getattr(asyncio, "async")
- 
-         x = yield ensure_future(
-             asyncio.get_event_loop().run_in_executor(None, lambda: 42))
diff --git a/www/py-tornado4/pkg-descr b/www/py-tornado4/pkg-descr
deleted file mode 100644
index d402cc6d6418..000000000000
--- a/www/py-tornado4/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-Tornado is an open source version of the scalable, non-blocking web server and
-tools that power FriendFeed. The FriendFeed application is written using a web
-framework that looks a bit like web.py or Google's webapp, but with additional
-tools and optimizations to take advantage of the underlying non-blocking
-infrastructure.
-
-The framework is distinct from most mainstream web server frameworks (and
-certainly most Python frameworks) because it is non-blocking and reasonably
-fast. Because it is non-blocking and uses epoll or kqueue, it can handle
-thousands of simultaneous standing connections, which means it is ideal for
-real-time web services. We built the web server specifically to handle
-FriendFeed's real-time features - every active user of FriendFeed maintains an
-open connection to the FriendFeed servers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412311625.4BVGPFju040876>