To find the ratio of the number of people who like watching basketball to the number of people who do not like watching basketball, we can set up the ratio as follows:
- Number of people who like watching basketball: 5
- Number of people who do not like watching basketball: 8
The ratio is calculated by placing the two numbers in a fraction format:
\[ \text{Ratio} = \frac{\text{Number of people who like watching basketball}}{\text{Number of people who do not like watching basketball}} = \frac{5}{8} \]
Thus, the ratio of the number of people who like watching basketball to the number of people who do not like watching basketball is:
\[ \boxed{5:8} \]