git: 8c652251cd49 - main - devel/py-atpublic: Fix installation path

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Wed, 19 Jan 2022 16:12:33 UTC
The branch main has been updated by acm:

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

commit 8c652251cd49dc718024d698d84c13badb7687f5
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2022-01-19 16:11:45 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2022-01-19 16:11:45 +0000

    devel/py-atpublic: Fix installation path
---
 devel/py-atpublic/files/setup.cfg | 2 +-
 devel/py-atpublic/files/setup.py  | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/devel/py-atpublic/files/setup.cfg b/devel/py-atpublic/files/setup.cfg
index f1ef71fac8f9..e1c6bb70e2cc 100644
--- a/devel/py-atpublic/files/setup.cfg
+++ b/devel/py-atpublic/files/setup.cfg
@@ -18,7 +18,7 @@ omit =
 
 [coverage:paths]
 source =
-    src/public
+    public
 
 [tool:isort]
 include_trailing_comma = true
diff --git a/devel/py-atpublic/files/setup.py b/devel/py-atpublic/files/setup.py
index 385c5d8f70ba..00645ddde307 100644
--- a/devel/py-atpublic/files/setup.py
+++ b/devel/py-atpublic/files/setup.py
@@ -22,10 +22,11 @@ setup(
     license='Apache 2.0',
     keywords='__all__ public',
     url='http://public.readthedocs.io/',
-    packages=["src/public"],
+    package_dir={"":"src"},
+    packages=['public'],
     include_package_data=True,
     package_data={
-        'public': ['src/public/py.typed'],
+        'public': ['public/py.typed'],
         },
     # readthedocs builds fail unless zip_safe is False.
     zip_safe=False,