Marcel Telka
2024-02-10 2aec967dcdea57056a9156a89159d8c416232cb4
python/dulwich: remove misplaced docs files

6 files modified
55 ■■■■■ changed files
components/python/dulwich/Makefile 8 ●●●● patch | view | raw | blame | history
components/python/dulwich/dulwich-PYVER.p5m 10 ●●●●● patch | view | raw | blame | history
components/python/dulwich/manifests/sample-manifest.p5m 12 ●●●●● patch | view | raw | blame | history
components/python/dulwich/pkg5 6 ●●●● patch | view | raw | blame | history
components/python/dulwich/python-integrate-project.conf 5 ●●●●● patch | view | raw | blame | history
components/python/dulwich/test/results-all.master 14 ●●●● patch | view | raw | blame | history
components/python/dulwich/Makefile
@@ -20,10 +20,9 @@
COMPONENT_NAME =        dulwich
HUMAN_VERSION =            0.21.7
COMPONENT_REVISION =        1
COMPONENT_SUMMARY =        dulwich - Python Git Library
COMPONENT_PROJECT_URL =        https://www.dulwich.io/
COMPONENT_ARCHIVE_URL =        \
    https://files.pythonhosted.org/packages/2b/e2/788910715b4910d08725d480278f625e315c3c011eb74b093213363042e0/dulwich-0.21.7.tar.gz
COMPONENT_ARCHIVE_HASH =    \
    sha256:a9e9c66833cea580c3ac12927e4b9711985d76afca98da971405d414de60e968
COMPONENT_LICENSE =        Apache-2.0 OR GPL-2.0-only
@@ -34,6 +33,11 @@
include $(WS_MAKE_RULES)/common.mk
# Remove misplaced docs files
# https://github.com/jelmer/dulwich/issues/1248
COMPONENT_POST_INSTALL_ACTION += \
    $(RM) -r $(PROTO_DIR)/$(PYTHON_LIB)/docs ;
# see tox.ini
COMPONENT_TEST_TARGETS = dulwich.tests.test_suite
components/python/dulwich/dulwich-PYVER.p5m
@@ -26,16 +26,6 @@
file path=usr/bin/dul-receive-pack-$(PYVER)
file path=usr/bin/dul-upload-pack-$(PYVER)
file path=usr/bin/dulwich-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/conclusion.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/encoding.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/file-format.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/index.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/introduction.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/object-store.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/porcelain.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/remote.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/repo.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/tag.txt
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/COPYING
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/WHEEL
components/python/dulwich/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@
#
#
# Copyright 2023 <contributor>
# Copyright 2024 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
@@ -26,16 +26,6 @@
file path=usr/bin/dul-receive-pack-$(PYVER)
file path=usr/bin/dul-upload-pack-$(PYVER)
file path=usr/bin/dulwich-$(PYVER)
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/conclusion.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/encoding.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/file-format.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/index.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/introduction.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/object-store.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/porcelain.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/remote.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/repo.txt
file path=usr/lib/python$(PYVER)/vendor-packages/docs/tutorial/tag.txt
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/COPYING
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/METADATA
file path=usr/lib/python$(PYVER)/vendor-packages/dulwich-$(HUMAN_VERSION).dist-info/WHEEL
components/python/dulwich/pkg5
@@ -7,8 +7,8 @@
        "system/library"
    ],
    "fmris": [
        "library/python/dulwich-39",
        "library/python/dulwich"
        "library/python/dulwich",
        "library/python/dulwich-39"
    ],
    "name": "dulwich"
}
}
components/python/dulwich/python-integrate-project.conf
@@ -19,6 +19,11 @@
# see tox.ini
TEST_STYLE = unittest
%include-3%
# Remove misplaced docs files
# https://github.com/jelmer/dulwich/issues/1248
COMPONENT_POST_INSTALL_ACTION += \
    $(RM) -r $(PROTO_DIR)/$(PYTHON_LIB)/docs ;
# see tox.ini
COMPONENT_TEST_TARGETS = dulwich.tests.test_suite
components/python/dulwich/test/results-all.master
@@ -1337,10 +1337,7 @@
test_fetch_empty_pack (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_fetch_pack (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_fetch_pack_depth (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_fetch_pack_no_side_band_64k (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... $(PYTHON_DIR)/contextlib.py:404: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', $(PORT))>
  def _exit_wrapper(exc_type, exc, tb):
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_fetch_pack_no_side_band_64k (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_fetch_pack_zero_sha (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_get_refs (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
test_incremental_fetch_pack (dulwich.tests.compat.test_client.DulwichHttpClientTest) ... ok
@@ -1364,7 +1361,10 @@
test_repeat (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_new_branch_empty_pack (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_pack (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_pack_from_shallow_clone (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_pack_from_shallow_clone (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... $(PYTHON_DIR)/os.py:676: ResourceWarning: unclosed <socket.socket fd=7, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', $(PORT))>
  value = self._data[self.encodekey(key)]
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ok
test_send_pack_multiple_errors (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_pack_nothing_to_send (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
test_send_pack_one_error (dulwich.tests.compat.test_client.DulwichMockSSHClientTest) ... ok
@@ -1387,7 +1387,7 @@
test_send_pack_one_error (dulwich.tests.compat.test_client.DulwichSubprocessClientTest) ... ok
test_send_remove_branch (dulwich.tests.compat.test_client.DulwichSubprocessClientTest) ... ok
test_send_without_report_status (dulwich.tests.compat.test_client.DulwichSubprocessClientTest) ... ok
test_archive (dulwich.tests.compat.test_client.DulwichTCPClientTest) ... ok
test_archive (dulwich.tests.compat.test_client.DulwichTCPClientTest) ... skipped 'git-daemon was already running on port 9418'
test_fetch_empty_pack (dulwich.tests.compat.test_client.DulwichTCPClientTest) ... ok
test_fetch_pack (dulwich.tests.compat.test_client.DulwichTCPClientTest) ... ok
test_fetch_pack_depth (dulwich.tests.compat.test_client.DulwichTCPClientTest) ... ok
@@ -1580,4 +1580,4 @@
----------------------------------------------------------------------
Ran 1513 tests
OK (skipped=84, expected failures=1)
OK (skipped=85, expected failures=1)