##### SUMMARY
pacman contains call to Display.deprecated or AnsibleModule.deprecate and is scheduled for removal

```
lib/ansible/modules/packaging/os/pacman.py:456:8: ansible-deprecated-version: Deprecated version ('2.10') found in call to Display.deprecated or AnsibleModule.deprecate
```

##### ISSUE TYPE
 - Bug Report

##### COMPONENT NAME
```
lib/ansible/modules/packaging/os/pacman.py
```

##### ANSIBLE VERSION
```
2.10
```

##### CONFIGURATION
N/A

##### OS / ENVIRONMENT
N/A

##### STEPS TO REPRODUCE
N/A

##### EXPECTED RESULTS
N/A

##### ACTUAL RESULTS
N/A

- name: Remove packages foo and bar
  pacman:
    name:
      - foo
      - bar
    state: absent
- name: Recursively remove package baz
  pacman:
    name: baz
    state: absent
    extra_args: --recursive
- name: Run the equivalent of "pacman -Sy" as a separate step
  pacman:
    update_cache: yes
- name: Run the equivalent of "pacman -Su" as a separate step
  pacman:
    upgrade: yes
- name: Run the equivalent of "pacman -Syu" as a separate step
  pacman:
    update_cache: yes
    upgrade: yes
- name: Run the equivalent of "pacman -Rdd", force remove package baz
  pacman:
    name: baz
    state: absent
    force: yes
'''
import re
from ansible.module_utils.basic import AnsibleModule
def get_version(pacman_output):