diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2023-04-13 22:52:34 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2023-04-13 23:12:53 +0200 |
commit | 6fb8ad52834023b1e370a9104aabf84d68002dba (patch) | |
tree | c4ae8dbc238638af3e27f50cd5a2489fdcdaadcb | |
parent | 147de43b2728ef3fa6b2940eb9a72458a533404e (diff) | |
download | nntplib-6fb8ad52834023b1e370a9104aabf84d68002dba.tar.gz |
Initial structure of the package0.1.0
-rw-r--r-- | .builds/fedora.yml | 6 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | CHANGES | 5 | ||||
-rw-r--r-- | MANIFEST.in | 6 | ||||
-rw-r--r-- | README | 8 | ||||
-rw-r--r-- | pyproject.toml | 29 | ||||
-rw-r--r-- | src/__init__.py | 0 | ||||
-rw-r--r-- | src/nntplib.egg-info/PKG-INFO | 23 | ||||
-rw-r--r-- | src/nntplib.egg-info/SOURCES.txt | 16 | ||||
-rw-r--r-- | src/nntplib.egg-info/dependency_links.txt | 1 | ||||
-rw-r--r-- | src/nntplib.egg-info/requires.txt | 3 | ||||
-rw-r--r-- | src/nntplib.egg-info/top_level.txt | 2 | ||||
-rw-r--r-- | src/nntplib.py (renamed from nntplib.py) | 0 | ||||
-rw-r--r-- | tests/__init__.py | 0 | ||||
-rw-r--r-- | tests/keycert3.pem (renamed from keycert3.pem) | 0 | ||||
-rw-r--r-- | tests/test_nntplib.py (renamed from test_nntplib.py) | 0 |
16 files changed, 96 insertions, 4 deletions
diff --git a/.builds/fedora.yml b/.builds/fedora.yml index 941ca98..26c2a1e 100644 --- a/.builds/fedora.yml +++ b/.builds/fedora.yml @@ -1,11 +1,11 @@ image: fedora/latest packages: - - python3.10 - - python3.10-test + - python3 + - python3-test sources: - https://git.sr.ht/~mcepl/nntplib tasks: - test: | cd nntplib - python3.10 -munittest -v test_nntplib.py + python3 -munittest discover -v tests @@ -17,3 +17,4 @@ TAGS .mypy_cache/ .pytest_cache/ .DS_Store +dist/ @@ -0,0 +1,5 @@ +0.1.0 - 2023-04-13 +------------------ + +- Initial repackaging of the module from the standard library of + 3.10.10. diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..b488bf8 --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,6 @@ +recursive-include tests *.py *.pem + +include README +include CHANGES +include LICENCE +include nntplib.rst @@ -1 +1,7 @@ -An attempt to recreate nntplib from Python 3 standard library as a independent module.
\ No newline at end of file +nntplib library from Python 3 standard library as an independent module. + +All issues, questions, complaints, or (even better!) patches +should be send via email to +[~mcepl/devel@lists.sr.ht](mailto:~mcepl/devel@lists.sr.ht) email +list (for patches use [git +send-email](https://git-send-email.io/)). diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b31878c --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,29 @@ +[project] +name = "nntplib" +version = "0.1.0" +description = "nntplib from Python 3 standard library as an independent module" +keywords = ["nntp"] +authors = [ + { name = "Matěj Cepl", email = "mcepl@cepl.eu" } +] +dependencies = [ + 'importlib-metadata; python_version<"3.8"', +] +readme = "README" +license = {text = "BSD-3-Clause"} +classifiers = [ + "Framework :: Django", + "License :: OSI Approved :: BSD License", + "Topic :: Internet", + "Topic :: Communications :: Usenet News", + "Topic :: Software Development :: Libraries", + "Programming Language :: Python :: 3", + "Development Status :: 3 - Alpha", +] + +# [project.scripts] +# my-script = "my_package.module:function" + +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" diff --git a/src/__init__.py b/src/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/__init__.py diff --git a/src/nntplib.egg-info/PKG-INFO b/src/nntplib.egg-info/PKG-INFO new file mode 100644 index 0000000..46ac94e --- /dev/null +++ b/src/nntplib.egg-info/PKG-INFO @@ -0,0 +1,23 @@ +Metadata-Version: 2.1 +Name: nntplib +Version: 0.1.0 +Summary: nntplib from Python 3 standard library as an independent module +Author-email: Matěj Cepl <mcepl@cepl.eu> +License: BSD-3-Clause +Keywords: nntp +Classifier: Framework :: Django +Classifier: License :: OSI Approved :: BSD License +Classifier: Topic :: Internet +Classifier: Topic :: Communications :: Usenet News +Classifier: Topic :: Software Development :: Libraries +Classifier: Programming Language :: Python :: 3 +Classifier: Development Status :: 3 - Alpha +License-File: LICENSE + +nntplib library from Python 3 standard library as an independent module. + +All issues, questions, complaints, or (even better!) patches +should be send via email to +[~mcepl/devel@lists.sr.ht](mailto:~mcepl/devel@lists.sr.ht) email +list (for patches use [git +send-email](https://git-send-email.io/)). diff --git a/src/nntplib.egg-info/SOURCES.txt b/src/nntplib.egg-info/SOURCES.txt new file mode 100644 index 0000000..6d16409 --- /dev/null +++ b/src/nntplib.egg-info/SOURCES.txt @@ -0,0 +1,16 @@ +CHANGES +LICENSE +MANIFEST.in +README +nntplib.rst +pyproject.toml +src/__init__.py +src/nntplib.py +src/nntplib.egg-info/PKG-INFO +src/nntplib.egg-info/SOURCES.txt +src/nntplib.egg-info/dependency_links.txt +src/nntplib.egg-info/requires.txt +src/nntplib.egg-info/top_level.txt +tests/__init__.py +tests/keycert3.pem +tests/test_nntplib.py
\ No newline at end of file diff --git a/src/nntplib.egg-info/dependency_links.txt b/src/nntplib.egg-info/dependency_links.txt new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/nntplib.egg-info/dependency_links.txt @@ -0,0 +1 @@ + diff --git a/src/nntplib.egg-info/requires.txt b/src/nntplib.egg-info/requires.txt new file mode 100644 index 0000000..5c8c88b --- /dev/null +++ b/src/nntplib.egg-info/requires.txt @@ -0,0 +1,3 @@ + +[:python_version < "3.8"] +importlib-metadata diff --git a/src/nntplib.egg-info/top_level.txt b/src/nntplib.egg-info/top_level.txt new file mode 100644 index 0000000..6ecd909 --- /dev/null +++ b/src/nntplib.egg-info/top_level.txt @@ -0,0 +1,2 @@ +__init__ +nntplib diff --git a/nntplib.py b/src/nntplib.py index f6e746e..f6e746e 100644 --- a/nntplib.py +++ b/src/nntplib.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/tests/__init__.py diff --git a/keycert3.pem b/tests/keycert3.pem index f6887ba..f6887ba 100644 --- a/keycert3.pem +++ b/tests/keycert3.pem diff --git a/test_nntplib.py b/tests/test_nntplib.py index 4f05921..4f05921 100644 --- a/test_nntplib.py +++ b/tests/test_nntplib.py |